diff options
Diffstat (limited to 'src/cmd_rehash.cpp')
-rw-r--r-- | src/cmd_rehash.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd_rehash.cpp b/src/cmd_rehash.cpp index f53f810a4..88ffd3aa7 100644 --- a/src/cmd_rehash.cpp +++ b/src/cmd_rehash.cpp @@ -39,6 +39,7 @@ CmdResult cmd_rehash::Handle (const char** parameters, int pcnt, userrec *user) ServerInstance->WriteOpers("%s is rehashing config file %s",user->nick,ServerConfig::CleanFilename(CONFIG_FILE)); ServerInstance->Config->Read(false,user); } + InitializeDisabledCommands(ServerInstance->Config->DisabledCommands, ServerInstance); FOREACH_MOD(I_OnRehash,OnRehash(parameter)); return CMD_SUCCESS; |