summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 49493b423..9a5b13734 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1193,7 +1193,7 @@ class TreeSocket : public InspSocket
while (line.length() % this->keylength != 0)
{
// pad it to be a multiple of the key length
- line = line + "\0";
+ line = line + "\n";
}
}
ctx->Encrypt(line.c_str(), result, line.length(),0);