diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-22 19:54:09 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-22 19:54:09 +0000 |
commit | b26f198489186e9f53aa79bab3c093d8fafce230 (patch) | |
tree | 8da78c9896fad20662b3ccde078ae26d211cda06 | |
parent | a99a00d7c57986e21636fd3a3927bc0a46028dd3 (diff) |
Fix formatting messages on ngircd.
-rw-r--r-- | modules/protocol/ngircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Anope::string> &tags, const MessageSource &source, const Anope::string &command, const std::vector<Anope::string> ¶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); } }; |