]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/treesocket1.cpp
Fix typo
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / treesocket1.cpp
index 5f628a5e8317a505b70d0b9741720338c2144d17..d5aeb223c1b37e6e105d71bf5d55c7d0a58a81f2 100644 (file)
@@ -504,17 +504,16 @@ bool TreeSocket::ForceMode(const std::string &source, std::deque<std::string> &p
         */
        if (TS <= ourTS)
        {
-                       if (smode)
-                       {
-                               this->Instance->SendMode(modelist, n, who);
-                       }
-                       else
-                       {
-                               this->Instance->CallCommandHandler("MODE", modelist, n, who);
-                       }
-                       /* HOT POTATO! PASS IT ON! */
-                       Utils->DoOneToAllButSender(source,"FMODE",params,sourceserv);
+               if (smode)
+               {
+                       this->Instance->SendMode(modelist, n, who);
+               }
+               else
+               {
+                       this->Instance->CallCommandHandler("MODE", modelist, n, who);
                }
+               /* HOT POTATO! PASS IT ON! */
+               Utils->DoOneToAllButSender(source,"FMODE",params,sourceserv);
        }
        /* If the TS is greater than ours, we drop the mode and dont pass it anywhere.
         */