diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-23 22:11:55 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-23 22:11:55 +0000 |
commit | cd31fc5b9a01e6b975160c46b153c0dd5c3e81dc (patch) | |
tree | a1683bb9ca1732415dc9701ff92ad8b359084e6c | |
parent | abb9750c490d0ac54fb8b92c5bd140f3d5bb343c (diff) |
Attempted fix for munged ctcps during encryption
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2651 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 8a4599565..c53cec248 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1238,6 +1238,8 @@ class TreeSocket : public InspSocket { char out[1024]; char result[1024]; + memset(result,0,1024); + memset(out,0,1024); log(DEBUG,"Original string '%s'",ret.c_str()); /* ERROR + CAPAB is still allowed unencryped */ if ((ret.substr(0,7) != "ERROR :") && (ret.substr(0,6) != "CAPAB ")) |