diff options
| author | 2006-12-24 13:32:06 +0000 | |
|---|---|---|
| committer | 2006-12-24 13:32:06 +0000 | |
| commit | 6d238262079ddecf4ccd98a904cdb94aa14a3d08 (patch) | |
| tree | d7b8b78ea64c201294f8fd27e00f82f98edaff7f /src/inspircd.cpp | |
| parent | Fix the launcher for two situations: (diff) | |
| download | inspircd++-6d238262079ddecf4ccd98a904cdb94aa14a3d08.tar.gz inspircd++-6d238262079ddecf4ccd98a904cdb94aa14a3d08.tar.bz2 inspircd++-6d238262079ddecf4ccd98a904cdb94aa14a3d08.zip | |
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/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 2 |
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); |
