From 2faa62837088c5171b3e65124ed93eca975261c1 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 2 Mar 2006 12:55:45 +0000 Subject: Logic fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3419 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 8 ++++++-- src/svn-rev.sh | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index ce3d00b8c..c58741190 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2074,7 +2074,10 @@ class TreeSocket : public InspSocket { // we don't do anything with a line > 2048 if (line.length() > 2048) + { + log(DEBUG,"Line too long!"); return; + } if (!strchr(line.c_str(),' ')) { n.push_back(line); @@ -2095,6 +2098,7 @@ class TreeSocket : public InspSocket { n.push_back(param); *param = count = 0; + pptr = param; item++; } else @@ -2118,13 +2122,13 @@ class TreeSocket : public InspSocket } n.push_back(param); *param = count = 0; + pptr = param; } } } if (*param) - { n.push_back(param); - } + return; } diff --git a/src/svn-rev.sh b/src/svn-rev.sh index 337832030..5e3e69a77 100755 --- a/src/svn-rev.sh +++ b/src/svn-rev.sh @@ -1 +1 @@ -echo 3416 +echo 3418 -- cgit v1.2.3