From 0a28c9dacb65ac46ee7dc3c6f42c81c0fc5b9de2 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 10 Sep 2013 13:55:20 +0200 Subject: m_spanningtree Handle ERROR when fully connected --- src/modules/m_spanningtree/treesocket2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/modules') 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()); -- cgit v1.2.3