From d95be0a5165cf3cee3d1feedab1bdbdf21e5e419 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 18 Aug 2024 16:04:36 +0100 Subject: Add a formatting overload to {Membership,User}::Write(Remote)Notice. --- src/modules/m_tline.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_tline.cpp') diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp index adcbfd8cb..8b0fbf675 100644 --- a/src/modules/m_tline.cpp +++ b/src/modules/m_tline.cpp @@ -62,11 +62,11 @@ public: if (n_matched) { float p = (n_matched / (float)n_counted) * 100; - user->WriteNotice(INSP_FORMAT("*** TLINE: Counted {} user(s). Matched '{}' against {} user(s) ({:0.2}% of the userbase). {} by hostname and {} by IP address.", - n_counted, parameters[0], n_matched, p, n_match_host, n_match_ip)); + user->WriteNotice("*** TLINE: Counted {} user(s). Matched '{}' against {} user(s) ({:0.2}% of the userbase). {} by hostname and {} by IP address.", + n_counted, parameters[0], n_matched, p, n_match_host, n_match_ip); } else - user->WriteNotice(INSP_FORMAT("*** TLINE: Counted {} user(s). Matched '{}' against no user(s).", n_counted, parameters[0])); + user->WriteNotice("*** TLINE: Counted {} user(s). Matched '{}' against no user(s).", n_counted, parameters[0]); return CmdResult::SUCCESS; } -- cgit v1.3.1-10-gc9f91