]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree.cpp
Moved some stuff to debug
[user/henk/code/inspircd.git] / src / modules / m_spanningtree.cpp
index 65b99c6503f020d1aff6d25da69775c3933d8f0f..edfef803981dfb5a625611fe20bd2acd2aa248da 100644 (file)
@@ -404,7 +404,7 @@ class TreeSocket : public InspSocket
                {
                        std::deque<std::string> params;
                        params.push_back(Current->GetName());
-                       params.push_back(reason);
+                       params.push_back(":"+reason);
                        DoOneToAllButSender(Current->GetParent()->GetName(),"SQUIT",params,Current->GetName());
                        if (Current->GetParent() == TreeRoot)
                        {
@@ -728,7 +728,7 @@ class TreeSocket : public InspSocket
 
        bool ProcessLine(std::string line)
        {
-               Srv->SendToModeMask("o",WM_AND,"inbound-line: '"+line+"'");
+               Srv->Log(DEBUG,"inbound-line: '"+line+"'");
 
                std::deque<std::string> params = this->Split(line);
                std::string command = "";