diff options
| author | 2005-11-30 21:17:00 +0000 | |
|---|---|---|
| committer | 2005-11-30 21:17:00 +0000 | |
| commit | ae24824b0f72acdb368105881c1fbceb93d46ccc (patch) | |
| tree | 6bfeaee47c0afc622502b33871a19f8c0d4a2a9a /src/modules/m_spanningtree.cpp | |
| parent | Fixed hopcount error during authentication/burst which caused one server to s... (diff) | |
| download | inspircd++-ae24824b0f72acdb368105881c1fbceb93d46ccc.tar.gz inspircd++-ae24824b0f72acdb368105881c1fbceb93d46ccc.tar.bz2 inspircd++-ae24824b0f72acdb368105881c1fbceb93d46ccc.zip | |
Fixed a warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2067 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
| -rw-r--r-- | src/modules/m_spanningtree.cpp | 2 |
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) |
