summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-01-02 16:42:31 +0000
committerPeter Powell <petpow@saberuk.com>2019-01-02 16:56:08 +0000
commit8fd5f78f834e332aafd9959f2bbe23a4ff36b349 (patch)
tree48df749e948798a5d6f9b2468fbea29e9c4fc3ee /src/modules/m_spanningtree
parentd45060c2baf7393d1eacaef232a64254013f5228 (diff)
Remove spanningtree check for lines sent without a source.
We don't send any of these anymore.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/compat.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp
index 3e9485cfa..7cd56b71c 100644
--- a/src/modules/m_spanningtree/compat.cpp
+++ b/src/modules/m_spanningtree/compat.cpp
@@ -35,12 +35,6 @@ void TreeSocket::WriteLine(const std::string& original_line)
{
if (LinkState == CONNECTED)
{
- if (original_line.c_str()[0] != ':')
- {
- ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "Sending line without server prefix!");
- WriteLine(":" + ServerInstance->Config->GetSID() + " " + original_line);
- return;
- }
if (proto_version != ProtocolVersion)
{
std::string line = original_line;