summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-09 21:42:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-09 21:42:15 +0000
commitae672a42dce613316e348b0fabac7769cddfd1f0 (patch)
tree2f378f7432e833fd73587802b8fbb72334d5669e
parentc5475a56f79971b5b16618bd4c9b92b77e145860 (diff)
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
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp3
1 files changed, 2 insertions, 1 deletions
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<std::string> &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;
}