From b16852902c9044a327819e8e2ef5deb794e99349 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 16 Feb 2006 18:59:57 +0000 Subject: New tweak doesnt work yet, dont use git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3233 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules') 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); -- cgit v1.2.3