From 5c4badf8ea3ba775854f0d26d3f2e0e119584faa Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 23 Jan 2023 07:42:07 +0000 Subject: Replace InspIRCd::Format with fmt::format. --- src/modules/m_anticaps.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_anticaps.cpp') diff --git a/src/modules/m_anticaps.cpp b/src/modules/m_anticaps.cpp index b7a4d4caa..874ae07d3 100644 --- a/src/modules/m_anticaps.cpp +++ b/src/modules/m_anticaps.cpp @@ -270,8 +270,8 @@ public: if (percent < config->percent) return MOD_RES_PASSTHRU; - const std::string message = InspIRCd::Format("Your message exceeded the %d%% upper case character threshold for %s", - config->percent, channel->name.c_str()); + const std::string message = INSP_FORMAT("Your message exceeded the {}% upper case character threshold for {}", + config->percent, channel->name); switch (config->method) { -- cgit v1.3.1-10-gc9f91