aboutsummaryrefslogtreecommitdiff
path: root/modules/anticaps.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/anticaps.cpp
parentMerge branch 'insp4' into master. (diff)
Use C++20 <format> instead of fmtlib when available.
Diffstat (limited to 'modules/anticaps.cpp')
-rw-r--r--modules/anticaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/anticaps.cpp b/modules/anticaps.cpp
index bc396600c..29f42aa86 100644
--- a/modules/anticaps.cpp
+++ b/modules/anticaps.cpp
@@ -263,7 +263,7 @@ public:
if (percent < config->percent)
return MOD_RES_PASSTHRU;
- const std::string message = fmt::format("Your message exceeded the {}% upper case character threshold for {}",
+ const std::string message = FMT::format("Your message exceeded the {}% upper case character threshold for {}",
config->percent, channel->name);
switch (config->method)