diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp index 6ec27ed6d..dacf68d57 100644 --- a/modules/protocol/ngircd.cpp +++ b/modules/protocol/ngircd.cpp @@ -154,7 +154,7 @@ public: bool Format(Anope::string &message, const Anope::map &tags, const MessageSource &source, const Anope::string &command, const std::vector ¶ms) override { - return IRCDProto::Format(message, tags, source.GetSource().empty() ? source : Me, command, params); + return IRCDProto::Format(message, tags, source.GetSource().empty() ? Me : source, command, params); } };