summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-02 00:22:52 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-02 00:22:52 +0000
commitac2b507cb7817af77515605eb9d324891d184e29 (patch)
tree87652b8cab12d90e442d0dc3008fec37bcc227d4 /src
parent4f59ab50b7b1693e26ce60be1550bb41655e050b (diff)
No promises, but maybe this will fix issue with disabled commands, reported by relax
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5381 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/cmd_rehash.cpp1
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;