From 6b123d4bc61c2db8e379dd5e681834c4053e661d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 22 Aug 2024 10:26:43 +0100 Subject: Use C++20 instead of fmtlib when available. --- modules/monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/monitor.cpp') diff --git a/modules/monitor.cpp b/modules/monitor.cpp index 62ffc332d..832c55aa4 100644 --- a/modules/monitor.cpp +++ b/modules/monitor.cpp @@ -277,7 +277,7 @@ class CommandMonitor final if (result == IRCv3::Monitor::Manager::WR_TOOMANY) { // List is full, send error which includes the remaining nicks that were not processed - user->WriteNumeric(ERR_MONLISTFULL, maxmonitor, fmt::format("{}{}{}", nick, (ss.StreamEnd() ? "" : ","), ss.GetRemaining()), "Monitor list is full"); + user->WriteNumeric(ERR_MONLISTFULL, maxmonitor, FMT::format("{}{}{}", nick, (ss.StreamEnd() ? "" : ","), ss.GetRemaining()), "Monitor list is full"); break; } else if (result != IRCv3::Monitor::Manager::WR_OK) -- cgit v1.3.1-10-gc9f91