summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-15 20:30:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-15 20:30:43 +0000
commit67b93b1938685bc30e3d6b6f46699c65bbab1694 (patch)
treec58ea9e76d7d0975736471a6d4258f6843160624 /src/inspircd_io.cpp
parent2822a9f36e0c915227fe3eb87e43a77ff0232bad (diff)
Fixed SIGHUP rehash to actually send rehash event to modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2806 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index afed864f7..e6dfc71b1 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -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(""));
}