summaryrefslogtreecommitdiff
path: root/modules/protocol/solanum.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-04-21 14:06:49 +0100
committerSadie Powell <sadie@witchery.services>2021-04-21 14:06:49 +0100
commit16fac79b7855639de225fd754f39b18268b8549c (patch)
tree52cf2fcbdbcf951dda1161e2cce8d4f1bfe6c6d8 /modules/protocol/solanum.cpp
parent622a8ea7e9e8cf50897648cf88e8d745fd145b4f (diff)
The last parameter of Solanum ECHO is a <trailing>.
Diffstat (limited to 'modules/protocol/solanum.cpp')
-rw-r--r--modules/protocol/solanum.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/solanum.cpp b/modules/protocol/solanum.cpp
index 9ec234539..bb8f97a2a 100644
--- a/modules/protocol/solanum.cpp
+++ b/modules/protocol/solanum.cpp
@@ -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);
}