From 52a42b48cd63bd49991130f9cf7f2b0e13c76448 Mon Sep 17 00:00:00 2001 From: danieldg Date: Thu, 25 Feb 2010 17:07:16 +0000 Subject: 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 --- src/modules/m_spanningtree/compat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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) -- cgit v1.2.3