summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-24 13:32:06 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-24 13:32:06 +0000
commit6d238262079ddecf4ccd98a904cdb94aa14a3d08 (patch)
treed7b8b78ea64c201294f8fd27e00f82f98edaff7f /src
parent191adfdc7f5da7be8505381af9f47c86e35f1f4b (diff)
Whoops, crash on sighup due to passing null argv and argc (similar to rehash, throwback to old code)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6098 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 4f3b14cbf..59eeae98f 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -139,7 +139,7 @@ void InspIRCd::Rehash(int status)
{
SI->WriteOpers("Rehashing config file %s due to SIGHUP",ServerConfig::CleanFilename(CONFIG_FILE));
SI->CloseLog();
- SI->OpenLog(NULL,0);
+ SI->OpenLog(this->Config->argv, this->Config->argc);
SI->RehashUsersAndChans();
FOREACH_MOD_I(SI, I_OnGarbageCollect, OnGarbageCollect());
SI->Config->Read(false,NULL);