From c78bff4fb1592f75206093a9d3d7b2100366a569 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 24 Dec 2006 00:53:00 +0000 Subject: Neither should this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6089 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_rehash.cpp | 1 + src/inspircd.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src') 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("")); } -- cgit v1.2.3