diff options
| author | 2014-06-17 13:25:06 +0200 | |
|---|---|---|
| committer | 2014-06-17 13:25:06 +0200 | |
| commit | 7e47e4184196952d7bd2ed2c79232fc374f9e664 (patch) | |
| tree | c992c47cb7ea33187a3257cffe0c46664c0d09fe /src/modules/m_spanningtree/compat.cpp | |
| parent | m_spanningtree Add TreeSocket::SendServerInfo() that sends all additional dat... (diff) | |
m_spanningtree Add server-to-server SINFO command handler and builder
Don't send SINFO to 1202 protocol servers
Diffstat (limited to 'src/modules/m_spanningtree/compat.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/compat.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp index 9d3c52bd2..5893a09fd 100644 --- a/src/modules/m_spanningtree/compat.cpp +++ b/src/modules/m_spanningtree/compat.cpp @@ -244,6 +244,10 @@ void TreeSocket::WriteLine(const std::string& original_line) line.erase(d, e-d); } } + else if (command == "SINFO") + { + return; + } } ServerInstance->Logs->Log(MODNAME, LOG_RAWIO, "S[%d] O %s", this->GetFd(), line.c_str()); this->WriteData(line); |
