1
0
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:
Timo Sirainen 2001-11-16 11:50:14 +00:00 committed by cras
parent c2e2d606e6
commit e3fea8cf01
2 changed files with 7 additions and 1 deletions

View File

@ -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;
} }

View File

@ -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
#******************************* #*******************************