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:
@@ -284,7 +284,7 @@ struct IRCDMessageNotice : Message::Notice
|
||||
void Run(MessageSource &source, const std::vector<Anope::string> ¶ms, 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> ¶ms, 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user