diff options
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r-- | src/inspircd_io.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index d685faf4e..0f4b56b55 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -29,6 +29,7 @@ using namespace std; #include "inspircd_io.h" #include "inspstring.h" #include "helperfuncs.h" +#include "userprocess.h" #include "xline.h" extern ServerConfig *Config; @@ -374,6 +375,8 @@ void Killed(int status) void Rehash(int status) { WriteOpers("Rehashing config file %s due to SIGHUP",CONFIG_FILE); + fclose(Config->log_file); + OpenLog(NULL,NULL); Config->Read(false,NULL); } |