diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-06-15 23:57:31 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-06-15 23:57:31 +0000 |
commit | 2f12c298e8d932f0f7eba320db71f15ece9b4ae9 (patch) | |
tree | 2c451f1ba22effc394c0ad2ec364b51ef5278a4a | |
parent | 4e5fe6922e81c04ebb3498d8110eed3048741789 (diff) |
Fix ENCAP forwarding with multiword final parameter, noticed by Namegduf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11413 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree/encap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/encap.cpp b/src/modules/m_spanningtree/encap.cpp index c2270092d..6902c63e0 100644 --- a/src/modules/m_spanningtree/encap.cpp +++ b/src/modules/m_spanningtree/encap.cpp @@ -32,6 +32,8 @@ bool TreeSocket::Encap(const std::string &prefix, std::deque<std::string> ¶m Event event((char*) ¶ms, (Module*)this->Utils->Creator, "encap_received"); event.Send(ServerInstance); } + + params[params.size() - 1] = ":" + params[params.size() - 1]; if (params[0].find('*') != std::string::npos) { |