summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-16 18:59:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-16 18:59:57 +0000
commitb16852902c9044a327819e8e2ef5deb794e99349 (patch)
tree2d01b58f387ae2287353f6ee68d8435a6872c4bb /src
parentd2c7993041b33465085bff7103d5554ae1bd02bd (diff)
New tweak doesnt work yet, dont use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3233 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 734640895..35a575675 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1406,7 +1406,10 @@ class TreeSocket : public InspSocket
// pad it to the key length
int n = line.length() % this->keylength;
if (n)
+ {
+ log(DEBUG,"Append %d chars to line to make it %d long from %d",n,n+line.length(),line.length());
line.append(n,'\7');
+ }
}
unsigned int ll = line.length();
ctx_out->Encrypt(line.c_str(), result, ll, 1);