diff options
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r-- | src/inspircd_io.cpp | 3 |
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("")); } |