From b918f4906a21d6f37de5c7d503c8da1770df966d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jun 2024 14:12:59 +0100 Subject: Always use fmtlib directly. --- src/modules/m_delaymsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_delaymsg.cpp') diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp index 52a03cc88..6f3de974a 100644 --- a/src/modules/m_delaymsg.cpp +++ b/src/modules/m_delaymsg.cpp @@ -139,7 +139,7 @@ ModResult ModuleDelayMsg::HandleMessage(User* user, const MessageTarget& target) if (user->HasPrivPermission("channels/ignore-delaymsg")) return MOD_RES_PASSTHRU; - const std::string message = INSP_FORMAT("You cannot send messages to this channel until you have been a member for {} seconds.", len); + const std::string message = fmt::format("You cannot send messages to this channel until you have been a member for {} seconds.", len); user->WriteNumeric(Numerics::CannotSendTo(channel, message)); return MOD_RES_DENY; } -- cgit v1.3.1-10-gc9f91