summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);