summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 21:15:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 21:15:54 +0000
commit13de26ba99a1776b732e0ada5838b39f7200e005 (patch)
tree6bbe2dc4c25b561c58185f60827639998b53715e /src/modules/m_spanningtree.cpp
parent8f86d8aced8ab3e2d04f194d7d91389cda247c44 (diff)
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
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-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)
{