From: brain Date: Wed, 30 Nov 2005 21:15:54 +0000 (+0000) Subject: Fixed hopcount error during authentication/burst which caused one server to split... X-Git-Tag: v2.0.23~9958 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=13de26ba99a1776b732e0ada5838b39f7200e005;p=user%2Fhenk%2Fcode%2Finspircd.git Fixed hopcount error during authentication/burst which caused one server to split while introducing another git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2066 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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) {