summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 15b51700f..94c610970 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2115,7 +2115,9 @@ class TreeSocket : public InspSocket
}
if ((*param == ':') && (count == 1) && (item > 0))
{
- *param = 0;
+ *param = count = 0;
+ *pptr = param;
+ log(DEBUG,"Final param");
while (!s.eof())
{
s.get(c);