]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Add r5381 fix to remote rehash too
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 2 Oct 2006 00:27:53 +0000 (00:27 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 2 Oct 2006 00:27:53 +0000 (00:27 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5382 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index 595bb7efa8b60d12ad8645cbc57ca4e12ca12cef..d46cd6234f81969ea5b665fd9e0be85a07d829ca 100644 (file)
@@ -2228,6 +2228,7 @@ class TreeSocket : public InspSocket
                        this->Instance->SNO->WriteToSnoMask('l',"Remote rehash initiated from server \002"+prefix+"\002.");
                        this->Instance->RehashServer();
                        ReadConfiguration(false);
+                       InitializeDisabledCommands(ServerInstance->Config->DisabledCommands, ServerInstance);
                }
                DoOneToAllButSender(prefix,"REHASH",params,prefix);
                return true;