aboutsummaryrefslogtreecommitdiffstats
path: root/modules/delaymsg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/delaymsg.cpp')
-rw-r--r--modules/delaymsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/delaymsg.cpp b/modules/delaymsg.cpp
index db50a4392..dc56cf210 100644
--- a/modules/delaymsg.cpp
+++ b/modules/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 = fmt::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;
}