From 67b93b1938685bc30e3d6b6f46699c65bbab1694 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 15 Jan 2006 20:30:43 +0000 Subject: 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 --- src/inspircd_io.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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("")); } -- cgit v1.2.3