summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-13 18:49:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-13 18:49:56 +0000
commit7b3b742d63c33518a9de080f8de3bc1623557a8c (patch)
tree7d55b65f3982ef378a93fe2f5e3fbd9a259a2157
parent202d24ba9e8780c840eb3fefbeccfb41bea72343 (diff)
Try this, jamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5229 e03df62e-2008-0410-955e-edbf42e46eb7
-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 caa5c3353..3bc08b149 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1309,9 +1309,9 @@ class TreeSocket : public InspSocket
modelist[0] = params[0].c_str();
modelist[1] = to_keep.c_str();
- if (params_to_keep.size() > 2)
+ if (params_to_keep.size() > 1)
{
- for (q = 2; (q < params_to_keep.size()) && (q < 64); q++)
+ for (q = 0; (q < params_to_keep.size()) && (q < 64); q++)
{
ServerInstance->Log(DEBUG,"KEEP Item %d of %d: %s", q, params_to_keep.size(), params_to_keep[q].c_str());
modelist[n++] = params_to_keep[q].c_str();