From ae24824b0f72acdb368105881c1fbceb93d46ccc Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 21:17:00 +0000 Subject: Fixed a warning git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2067 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree.cpp') 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) -- cgit v1.2.3