From ae672a42dce613316e348b0fabac7769cddfd1f0 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 May 2007 21:42:15 +0000 Subject: Fix operquit notices being chopped to first word of quit message, spotted by owine :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6931 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp index ca51ed464..80503659a 100644 --- a/src/modules/m_spanningtree/treesocket2.cpp +++ b/src/modules/m_spanningtree/treesocket2.cpp @@ -287,8 +287,9 @@ bool TreeSocket::OperQuit(const std::string &prefix, std::deque &pa if (u) { - Utils->DoOneToAllButSender(prefix,"OPERQUIT",params,prefix); u->SetOperQuit(params[0]); + params[0] = ":" + params[0]; + Utils->DoOneToAllButSender(prefix,"OPERQUIT",params,prefix); } return true; } -- cgit v1.2.3