1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 19:23:14 +02:00

The last parameter of Solanum ECHO is a <trailing>.

This commit is contained in:
Sadie Powell
2021-04-21 14:06:49 +01:00
parent 622a8ea7e9
commit 16fac79b78
+2 -2
View File
@@ -284,7 +284,7 @@ struct IRCDMessageNotice : Message::Notice
void Run(MessageSource &source, const std::vector<Anope::string> &params, const Anope::map<Anope::string> &tags) anope_override
{
if (Servers::Capab.count("ECHO"))
UplinkSocket::Message(Me) << "ECHO N " << " " << source.GetSource() << " " << params[1];
UplinkSocket::Message(Me) << "ECHO N " << " " << source.GetSource() << " :" << params[1];
Message::Notice::Run(source, params, tags);
}
@@ -297,7 +297,7 @@ struct IRCDMessagePrivmsg : Message::Privmsg
void Run(MessageSource &source, const std::vector<Anope::string> &params, const Anope::map<Anope::string> &tags) anope_override
{
if (Servers::Capab.count("ECHO"))
UplinkSocket::Message(Me) << "ECHO P " << " " << source.GetSource() << " " << params[1];
UplinkSocket::Message(Me) << "ECHO P " << " " << source.GetSource() << " :" << params[1];
Message::Privmsg::Run(source, params, tags);
}