From c3605c048a3658bd02a9e1f600e707b9596ba1ee Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 3 Feb 2006 17:34:02 +0000 Subject: More fixes (#3) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3053 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 4e3d4cc1e..a064aa7d0 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -3007,10 +3007,10 @@ class ModuleSpanningTree : public Module { if (user->fd > -1) { + chanrec *c = (chanrec*)dest; std::string cname = c->name; if (status) cname = status + cname; - chanrec *c = (chanrec*)dest; std::deque list; GetListOfServersForChannel(c,list); unsigned int ucount = list.size(); @@ -3044,10 +3044,10 @@ class ModuleSpanningTree : public Module { if (user->fd > -1) { + chanrec *c = (chanrec*)dest; std::string cname = c->name; if (status) cname = status + cname; - chanrec *c = (chanrec*)dest; std::deque list; GetListOfServersForChannel(c,list); unsigned int ucount = list.size(); -- cgit v1.2.3