From d95be0a5165cf3cee3d1feedab1bdbdf21e5e419 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 18 Aug 2024 16:04:36 +0100 Subject: Add a formatting overload to {Membership,User}::Write(Remote)Notice. --- include/modules/ircv3_replies.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/modules') diff --git a/include/modules/ircv3_replies.h b/include/modules/ircv3_replies.h index 4bfc8a30b..c92e257e9 100644 --- a/include/modules/ircv3_replies.h +++ b/include/modules/ircv3_replies.h @@ -67,9 +67,9 @@ private: void SendNoticeInternal(LocalUser* user, const Command* command, const std::string& description) { if (command) - user->WriteNotice(INSP_FORMAT("*** {}: {}", command->name, description)); + user->WriteNotice("*** {}: {}", command->name, description); else - user->WriteNotice(INSP_FORMAT("*** {}", description)); + user->WriteNotice("*** {}", description); } protected: -- cgit v1.3.1-10-gc9f91