]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/compat.cpp
Send HALFOP= line in CAPAB CAPABILITIES for 1201 compat (anope relies on this)
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / compat.cpp
index 2df0c91e98b0969e2ab723d1f40c7b58e6c82729..b5b31cf4d962ad2f7e0d4b4cf20e03989001bbf7 100644 (file)
@@ -167,7 +167,7 @@ void TreeSocket::WriteLine(std::string line)
                                }
 
                                Command* thiscmd = ServerInstance->Parser->GetHandler(subcmd);
-                               if (thiscmd)
+                               if (thiscmd && subcmd != "WHOISNOTICE")
                                {
                                        Version ver = thiscmd->creator->GetVersion();
                                        if (ver.Flags & VF_OPTCOMMON)
@@ -181,7 +181,7 @@ void TreeSocket::WriteLine(std::string line)
                }
        }
 
-       ServerInstance->Logs->Log("m_spanningtree",DEBUG, "S[%d] O %s", this->GetFd(), line.c_str());
+       ServerInstance->Logs->Log("m_spanningtree", RAWIO, "S[%d] O %s", this->GetFd(), line.c_str());
        this->WriteData(line);
        if (proto_version < 1202)
                this->WriteData(wide_newline);