summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 77a24127f..0c63e9fc7 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -750,11 +750,6 @@ class TreeSocket : public InspSocket
std::string password = params[1];
int hops = atoi(params[2].c_str());
std::string description = params[3];
- if (!hops)
- {
- this->WriteLine("ERROR :Protocol error - Introduced remote server with incorrect hopcount!");
- return false;
- }
TreeServer* ParentOfThis = FindServer(prefix);
if (!ParentOfThis)
{