]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree.cpp
Whoops, stuff in the wrong place
[user/henk/code/inspircd.git] / src / modules / m_spanningtree.cpp
index 099d06f776133c435b9a6794ec7eee16dc1a99ac..e2543c05eabb7a66d43077e199b2c2831fec7e65 100644 (file)
@@ -5173,13 +5173,13 @@ class ModuleSpanningTree : public Module
                {
                        if (params->size() < 2)
                                return;
-                       (*params)[0] = ":" + (*params)[0];
                        Utils->DoOneToMany(ServerInstance->Config->ServerName,"MODE",*params);
                }
                else if (event->GetEventID() == "send_opers")
                {
                        if (params->size() < 1)
                                return;
+                       (*params)[0] = ":" + (*params)[0];
                        Utils->DoOneToMany(ServerInstance->Config->ServerName,"OPERNOTICE",*params);
                }
                else if (event->GetEventID() == "send_push")