aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_tline.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-18 16:04:36 +0100
committerGravatar Sadie Powell2024-08-18 16:19:12 +0100
commitd95be0a5165cf3cee3d1feedab1bdbdf21e5e419 (patch)
tree20cdde19d3319c1423e63e37e5b26da6d5dad61b /src/modules/m_tline.cpp
parentDocument Write* members in the User type correctly. (diff)
Add a formatting overload to {Membership,User}::Write(Remote)Notice.
Diffstat (limited to 'src/modules/m_tline.cpp')
-rw-r--r--src/modules/m_tline.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}