diff options
Diffstat (limited to 'src/cmd_rehash.cpp')
-rw-r--r-- | src/cmd_rehash.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd_rehash.cpp b/src/cmd_rehash.cpp index 9823f1ab3..b856fa888 100644 --- a/src/cmd_rehash.cpp +++ b/src/cmd_rehash.cpp @@ -43,13 +43,14 @@ 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); FOREACH_MOD(I_OnRehash,OnRehash(user, parameter)); + ServerInstance->BuildISupport(); + return CMD_SUCCESS; } |