diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-19 14:57:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-19 14:57:22 +0000 |
commit | cc85560b5765549dac241aaa78ce4d82189cd1dc (patch) | |
tree | 00b1c4b1afc44b1c4bb49ff620aed1f0f9532697 /src/modules/m_spanningtree.cpp | |
parent | 29c1c6412bb7ea7e96b5692c0e254b11edb25355 (diff) |
std::string doesnt like null chars?!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2571 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 2 |
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); |