summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 15:40:14 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 15:40:14 +0000
commitcd4e197f42fe886edecfb0c1c06b9a771004fc05 (patch)
tree8d4257c3e5b9bcae56c70c38c11cd58f4dd7c4cd /src/modules
parent68c09ebc4d520ceaa5e19ad221d2ae4a96286d6c (diff)
Bugs bugs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4709 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 a4013ce79..d3d112ff4 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1153,10 +1153,10 @@ class TreeSocket : public InspSocket
modelist[0] = params[0].c_str();
modelist[1] = to_keep.c_str();
- for (n = 2; (n < params.size()) && (n < 64); n++)
+ for (n = 2; (q < params.size()) && (n < 64); n++)
{
log(DEBUG,"Item %d of %d",n, params.size());
- modelist[q++] = params_to_keep[n].c_str();
+ modelist[n] = params_to_keep[q++].c_str();
}
if (smode)