diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-09-10 13:55:20 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-09-10 13:55:20 +0200 |
commit | 0a28c9dacb65ac46ee7dc3c6f42c81c0fc5b9de2 (patch) | |
tree | b6c5225209a8e934b87b3e5edeb1f23d9f9ba0b0 /src/modules/m_spanningtree | |
parent | 2f753f7864bf847af26f7a1aedc727927c163738 (diff) |
m_spanningtree Handle ERROR when fully connected
Diffstat (limited to 'src/modules/m_spanningtree')
-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()); |