diff options
Diffstat (limited to 'src')
-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 6f454383d..815e241f0 100644 --- a/src/cmd_rehash.cpp +++ b/src/cmd_rehash.cpp @@ -42,6 +42,7 @@ CmdResult cmd_rehash::Handle (const char** parameters, int pcnt, userrec *user) ServerInstance->Config->Read(false,user); ServerInstance->Res->Rehash(); ServerInstance->ResetMaxBans(); + ServerInstance->BuildISupport(); } if (old_disabled != ServerInstance->Config->DisabledCommands) InitializeDisabledCommands(ServerInstance->Config->DisabledCommands, ServerInstance); diff --git a/src/inspircd.cpp b/src/inspircd.cpp index a259bf349..4b2690c49 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -151,6 +151,7 @@ void InspIRCd::Rehash(int status) SI->Config->Read(false,NULL); SI->ResetMaxBans(); SI->Res->Rehash(); + SI->BuildISupport(); FOREACH_MOD_I(SI,I_OnRehash,OnRehash(NULL,"")); } |