summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-02 12:59:17 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-02 12:59:17 +0000
commit21bcc43b155d0c72cc4860f42b39009a1fc76418 (patch)
tree3c8cbfcda5ed6850c477f6344d3f1684571629f0 /src/modules
parent2faa62837088c5171b3e65124ed93eca975261c1 (diff)
More logic tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3420 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index c58741190..869aa7a69 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2096,6 +2096,8 @@ class TreeSocket : public InspSocket
s.get(c);
if (c == ' ')
{
+ log(DEBUG,"Pushback(1) '%s'",param);
+ *pptr = 0;
n.push_back(param);
*param = count = 0;
pptr = param;
@@ -2120,6 +2122,8 @@ class TreeSocket : public InspSocket
count++;
}
}
+ log(DEBUG,"Pushback(2) '%s'",param);
+ *pptr = 0;
n.push_back(param);
*param = count = 0;
pptr = param;
@@ -2127,7 +2131,11 @@ class TreeSocket : public InspSocket
}
}
if (*param)
+ {
+ *pptr = 0;
+ log(DEBUG,"Pushback(3) '%s'",param);
n.push_back(param);
+ }
return;
}