]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed SIGHUP rehash to actually send rehash event to modules
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 15 Jan 2006 20:30:43 +0000 (20:30 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 15 Jan 2006 20:30:43 +0000 (20:30 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2806 e03df62e-2008-0410-955e-edbf42e46eb7

src/inspircd_io.cpp

index afed864f77469c88bb1805e88b40de8adb526cb0..e6dfc71b1dccb32cf7335b0661c9cd1a783717d8 100644 (file)
@@ -412,10 +412,11 @@ void Killed(int status)
 
 void Rehash(int status)
 {
-       WriteOpers("Rehashing config file %s due to SIGHUP",CONFIG_FILE);
+       WriteOpers("Rehashing config file %s due to SIGHUP",CleanFilename(CONFIG_FILE));
        fclose(Config->log_file);
        OpenLog(NULL,0);
        Config->Read(false,NULL);
+       FOREACH_MOD(I_OnRehash,OnRehash(""));
 }