diff options
-rw-r--r-- | src/modules/m_spanningtree/treesocket2.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index e3f355ac6..b66595bd1 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -314,6 +314,12 @@ void TreeSocket::ProcessConnectedLine(std::string& prefix, std::string& command, cmd = ServerInstance->Parser->GetHandler(command); if (!cmd) { + if (command == "ERROR") + { + this->Error(params); + return; + } + irc::stringjoiner pmlist(params); ServerInstance->Logs->Log(MODNAME, LOG_SPARSE, "Unrecognised S2S command :%s %s %s", who->uuid.c_str(), command.c_str(), pmlist.GetJoined().c_str()); |