summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-01-06 18:58:00 +0100
committerAttila Molnar <attilamolnar@hush.com>2016-01-06 18:58:00 +0100
commit4ea6d61e61d876e00e5e4a23f7261c118f071ffe (patch)
treec4ea5477bcbc8c5cc104afe9951c08d47e80e04d /src
parent30b4d1373ee051465659db2fbbf15f58a9fc26b5 (diff)
m_spanningtree Ignore SVSWATCH from 2.0 servers
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/compat.cpp5
1 files changed, 5 insertions, 0 deletions
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
}