summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 21:17:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 21:17:00 +0000
commitae24824b0f72acdb368105881c1fbceb93d46ccc (patch)
tree6bfeaee47c0afc622502b33871a19f8c0d4a2a9a
parent13de26ba99a1776b732e0ada5838b39f7200e005 (diff)
Fixed a warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2067 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
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)