diff options
| author | 2024-08-22 10:26:43 +0100 | |
|---|---|---|
| committer | 2024-08-22 11:12:52 +0100 | |
| commit | 6b123d4bc61c2db8e379dd5e681834c4053e661d (patch) | |
| tree | 77621bb30f54b0c444e31a78b2c5c9a67955b723 /modules/delaymsg.cpp | |
| parent | Merge 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.cpp | 2 |
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; } |
