summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-02 12:55:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-02 12:55:45 +0000
commit2faa62837088c5171b3e65124ed93eca975261c1 (patch)
treede99ad05b4bdf3b9f478ed351a7a2bd540ac1af3
parent5bacd1de02febe004182e845d1179ac0cc631ea9 (diff)
Logic fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3419 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree.cpp8
-rwxr-xr-xsrc/svn-rev.sh2
2 files changed, 7 insertions, 3 deletions
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