summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-06 14:52:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-06 14:52:03 +0000
commit57ab7451aff091397a2c2975b1ea7678ac72ca49 (patch)
treeeba3bdf0d109cc060bd1d52cbcba252368280fb8 /src/modules/m_spanningtree.cpp
parentbe6de051a6fa6a628c38e135eced913ee3240bc9 (diff)
Fixed /LINKS to show flat even in tricky mIRC.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3111 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-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 9e9efddc4..ffe48cd16 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2549,7 +2549,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)) ? 0 : hops,Current->GetDesc().c_str());
+ WriteServ(user->fd,"364 %s %s %s :%d %s",user->nick,Current->GetName().c_str(),(FlatLinks && (!*user->oper)) ? Srv->GetServerName.c_str() : Parent.c_str(),(FlatLinks && (!*user->oper)) ? 0 : hops,Current->GetDesc().c_str());
}
int CountLocalServs()