summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 10:28:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 10:28:30 +0000
commit73f4144cfd459ef1e52c482a6714935c9b0e0a16 (patch)
treef5cc85da3e7c925c343d4a38fecda1e8144afb1f /src
parentb6b12769298bfc1d1c9a28457c84f7993dafb046 (diff)
Changed hops from 1 to 0 (makes more sense)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3036 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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 413950e5c..d0de86f7a 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2496,7 +2496,7 @@ class ModuleSpanningTree : public Module
{
ShowLinks(Current->GetChild(q),user,hops+1);
}
- WriteServ(user->fd,"364 %s %s %s :%d %s",user->nick,Current->GetName().c_str(),Parent.c_str(),(FlatLinks && (!*user->oper)) ? 1 : hops,Current->GetDesc().c_str());
+ WriteServ(user->fd,"364 %s %s %s :%d %s",user->nick,Current->GetName().c_str(),Parent.c_str(),(FlatLinks && (!*user->oper)) ? 0 : hops,Current->GetDesc().c_str());
}
int CountLocalServs()