mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-13 20:49:02 -04:00
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
This commit is contained in:
parent
191adfdc7f
commit
6d23826207
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user