summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 17:34:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 17:34:02 +0000
commitc3605c048a3658bd02a9e1f600e707b9596ba1ee (patch)
tree8186b1c67c6f59b93f2f11b7f0de05e1f6e9d0f3 /src/modules
parent9c64f695f6becd596889ecebdeb40242e255f5b0 (diff)
More fixes (#3)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3053 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 2 insertions, 2 deletions
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<TreeServer*> 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<TreeServer*> list;
GetListOfServersForChannel(c,list);
unsigned int ucount = list.size();