]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed a warning
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 30 Nov 2005 21:17:00 +0000 (21:17 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 30 Nov 2005 21:17:00 +0000 (21:17 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2067 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree.cpp

index 0c63e9fc7a67f4565229046bc3205c39febd7a56..00805e1aaef5d9a9fcf4519a4d6cf0dd312d3af8 100644 (file)
@@ -748,7 +748,7 @@ class TreeSocket : public InspSocket
                        return false;
                std::string servername = params[0];
                std::string password = params[1];
-               int hops = atoi(params[2].c_str());
+               // hopcount is not used for a remote server, we calculate this ourselves
                std::string description = params[3];
                TreeServer* ParentOfThis = FindServer(prefix);
                if (!ParentOfThis)