From: brain Date: Wed, 30 Nov 2005 21:17:00 +0000 (+0000) Subject: Fixed a warning X-Git-Tag: v2.0.23~9957 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=ae24824b0f72acdb368105881c1fbceb93d46ccc;p=user%2Fhenk%2Fcode%2Finspircd.git Fixed a warning git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2067 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 0c63e9fc7..00805e1aa 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -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)