From b26f198489186e9f53aa79bab3c093d8fafce230 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 22 Feb 2024 19:54:09 +0000 Subject: [PATCH] Fix formatting messages on ngircd. --- modules/protocol/ngircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } };