From f02df696d5f51498657142e4ecb65a99ab7424ad Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 4 Apr 2008 15:27:06 +0000 Subject: Whoops, thanks w00t git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9319 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/protocolinterface.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree/protocolinterface.cpp b/src/modules/m_spanningtree/protocolinterface.cpp index edec3ed54..f204c15ed 100644 --- a/src/modules/m_spanningtree/protocolinterface.cpp +++ b/src/modules/m_spanningtree/protocolinterface.cpp @@ -124,12 +124,12 @@ void SpanningTreeProtocolInterface::SendChannel(Channel* target, char status, co void SpanningTreeProtocolInterface::SendChannelPrivmsg(Channel* target, char status, const std::string &text) { - SendChannel(target, status, ServerInstance->Config->GetSID()+" PRIVMSG "+target->name+" :"+text); + SendChannel(target, status, ":" + ServerInstance->Config->GetSID()+" PRIVMSG "+target->name+" :"+text); } void SpanningTreeProtocolInterface::SendChannelNotice(Channel* target, char status, const std::string &text) { - SendChannel(target, status, ServerInstance->Config->GetSID()+" NOTICE "+target->name+" :"+text); + SendChannel(target, status, ":" + ServerInstance->Config->GetSID()+" NOTICE "+target->name+" :"+text); } void SpanningTreeProtocolInterface::SendUserPrivmsg(User* target, const std::string &text) @@ -140,7 +140,7 @@ void SpanningTreeProtocolInterface::SendUserPrivmsg(User* target, const std::str TreeSocket* sock = serv->GetSocket(); if (sock) { - sock->WriteLine(ServerInstance->Config->GetSID() + " PRIVMSG " + target->nick + " :"+text); + sock->WriteLine(":" + ServerInstance->Config->GetSID() + " PRIVMSG " + target->nick + " :"+text); } } } @@ -153,7 +153,7 @@ void SpanningTreeProtocolInterface::SendUserNotice(User* target, const std::stri TreeSocket* sock = serv->GetSocket(); if (sock) { - sock->WriteLine(ServerInstance->Config->GetSID() + " NOTICE " + target->nick + " :"+text); + sock->WriteLine(":" + ServerInstance->Config->GetSID() + " NOTICE " + target->nick + " :"+text); } } } -- cgit v1.2.3