diff options
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 007627114..9c614efbf 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -119,12 +119,12 @@ void IRCDProto::SendKick(const MessageSource &source, const Channel *c, User *u, void IRCDProto::SendNoticeInternal(const MessageSource &source, const Anope::string &dest, const Anope::string &msg, const Anope::map<Anope::string> &tags) { - Uplink::Send(tags, source, "NOTICE", dest, msg); + Uplink::Send(tags, source, "NOTICE", dest, msg.empty() ? " " : msg); } void IRCDProto::SendPrivmsgInternal(const MessageSource &source, const Anope::string &dest, const Anope::string &msg, const Anope::map<Anope::string> &tags) { - Uplink::Send(tags, source, "PRIVMSG", dest, msg); + Uplink::Send(tags, source, "PRIVMSG", dest, msg.empty() ? " " : msg); } void IRCDProto::SendQuit(User *u, const Anope::string &buf) |