summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 16:08:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 16:08:04 +0000
commitf486290d078fe7df68c96d23cb6c1098260f2784 (patch)
tree2b0dda44145801e9cd09b8007e162233d805b55e /src/modules/m_spanningtree.cpp
parent0641430401984c4c56ec2e00c4b577f54cc20fb5 (diff)
Backwards mode stuff!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4712 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 0b7e20787..34d1c7091 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1368,7 +1368,7 @@ class TreeSocket : public InspSocket
memset(&mode_users,0,sizeof(mode_users));
mode_users[0] = first;
mode_users[1] = modestring;
- strcpy(first,"+");
+ strcpy(modestring,"+");
unsigned int modectr = 2;
userrec* who = NULL;
@@ -1461,6 +1461,7 @@ class TreeSocket : public InspSocket
params.push_back(ConvToStr(us->age));
}
params.push_back(mode_users[x]);
+
}
// tell everyone to bounce the modes. bad modes, bad!
DoOneToMany(Srv->GetServerName(),"FMODE",params);