aboutsummaryrefslogtreecommitdiff
path: root/modules/delaymsg.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-22 10:26:43 +0100
committerGravatar Sadie Powell2024-08-22 11:12:52 +0100
commit6b123d4bc61c2db8e379dd5e681834c4053e661d (patch)
tree77621bb30f54b0c444e31a78b2c5c9a67955b723 /modules/delaymsg.cpp
parentMerge branch 'insp4' into master. (diff)
Use C++20 <format> instead of fmtlib when available.
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;
}