mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
"setup reread" signal now sends the config file as parameter. Added
Irssi::get_irssi_dir() and Irssi::get_irssi_config(). Patch by peder@linpro.no git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2029 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c2e2d606e6
commit
e3fea8cf01
@ -580,7 +580,7 @@ int settings_reread(const char *fname)
|
|||||||
config_last_modifycounter = mainconfig->modifycounter;
|
config_last_modifycounter = mainconfig->modifycounter;
|
||||||
|
|
||||||
signal_emit("setup changed", 0);
|
signal_emit("setup changed", 0);
|
||||||
signal_emit("setup reread", 0);
|
signal_emit("setup reread", 1, mainconfig->fname);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -376,6 +376,12 @@ CODE:
|
|||||||
OUTPUT:
|
OUTPUT:
|
||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
|
char *
|
||||||
|
get_irssi_dir()
|
||||||
|
|
||||||
|
char *
|
||||||
|
get_irssi_config()
|
||||||
|
|
||||||
#*******************************
|
#*******************************
|
||||||
MODULE = Irssi::Core PACKAGE = Irssi::Server
|
MODULE = Irssi::Core PACKAGE = Irssi::Server
|
||||||
#*******************************
|
#*******************************
|
||||||
|
Loading…
Reference in New Issue
Block a user