summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;