summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-25 17:07:16 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-25 17:07:16 +0000
commit52a42b48cd63bd49991130f9cf7f2b0e13c76448 (patch)
tree0b1eedfe9908e297acb5ec08a7800b70827d82f0 /src/modules/m_spanningtree
parentc3ff8f2c56cc061f176837a3ad86e69280420b61 (diff)
Don't strip ENCAP from WHOISNOTICE, it will delink 1.2 servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12566 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/compat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp
index 2df0c91e9..4cb86a4de 100644
--- a/src/modules/m_spanningtree/compat.cpp
+++ b/src/modules/m_spanningtree/compat.cpp
@@ -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)