From ac2b507cb7817af77515605eb9d324891d184e29 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 2 Oct 2006 00:22:52 +0000 Subject: 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 --- src/cmd_rehash.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3