diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-24 00:53:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-24 00:53:00 +0000 |
commit | c78bff4fb1592f75206093a9d3d7b2100366a569 (patch) | |
tree | 53f2cea944cc2d361c2ee12e222f3954c319bb48 | |
parent | 69b3f63bb1d1dffcc9eaa706041f873a46c999e9 (diff) |
Neither should this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6089 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/cmd_rehash.cpp | 1 | ||||
-rw-r--r-- | src/inspircd.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd_rehash.cpp b/src/cmd_rehash.cpp index 7b9db22e0..f5e65d6b2 100644 --- a/src/cmd_rehash.cpp +++ b/src/cmd_rehash.cpp @@ -38,6 +38,7 @@ CmdResult cmd_rehash::Handle (const char** parameters, int pcnt, userrec *user) ServerInstance->CloseLog(); ServerInstance->OpenLog(ServerInstance->Config->argv, ServerInstance->Config->argc); ServerInstance->RehashUsersAndChans(); + FOREACH_MOD(I_OnGarbageCollect, OnGarbageCollect()); ServerInstance->Config->Read(false,user); } if (old_disabled != ServerInstance->Config->DisabledCommands) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 20dd162e5..d5146e900 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -139,6 +139,7 @@ void InspIRCd::Rehash(int status) SI->CloseLog(); SI->OpenLog(NULL,0); SI->RehashUsersAndChans(); + FOREACH_MOD_I(SI, I_OnGarbageCollect, OnGarbageCollect()); SI->Config->Read(false,NULL); FOREACH_MOD_I(SI,I_OnRehash,OnRehash("")); } |