]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed hopcount error during authentication/burst which caused one server to split...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 30 Nov 2005 21:15:54 +0000 (21:15 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 30 Nov 2005 21:15:54 +0000 (21:15 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2066 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index 77a24127f30f64ba7ef2e3ca0a1c7e716ebb173e..0c63e9fc7a67f4565229046bc3205c39febd7a56 100644 (file)
@@ -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)
                {