From 4ea6d61e61d876e00e5e4a23f7261c118f071ffe Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 6 Jan 2016 18:58:00 +0100 Subject: m_spanningtree Ignore SVSWATCH from 2.0 servers --- src/modules/m_spanningtree/compat.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp index ab5ee269e..41b5488f0 100644 --- a/src/modules/m_spanningtree/compat.cpp +++ b/src/modules/m_spanningtree/compat.cpp @@ -480,6 +480,11 @@ bool TreeSocket::PreProcessOldProtocolMessage(User*& who, std::string& cmd, std: // A server is introducing another one, drop unnecessary BURST return false; } + else if (cmd == "SVSWATCH") + { + // SVSWATCH was removed because nothing was using it, but better be sure + return false; + } return true; // Passthru } -- cgit v1.2.3