summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-04-13 12:05:48 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-04-13 12:05:48 +0200
commit60e73a38327cfcdac595e694917c476060bf248a (patch)
treefe74270802a26018981228975aa42b366bc87c47 /src/modules
parente22e40d86200f5ab703de6e79fa25b94d9c48fe3 (diff)
m_spanningtree Ignore incoming BURST command in CONNECTED state
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp
index 2e6961524..04b850755 100644
--- a/src/modules/m_spanningtree/treesocket2.cpp
+++ b/src/modules/m_spanningtree/treesocket2.cpp
@@ -316,6 +316,11 @@ void TreeSocket::ProcessConnectedLine(std::string& prefix, std::string& command,
this->Error(params);
return;
}
+ else if (command == "BURST")
+ {
+ // This is sent even when there is no need for it, drop it here for now
+ return;
+ }
throw ProtocolException("Unknown command");
}