diff options
| author | 2024-08-18 16:04:36 +0100 | |
|---|---|---|
| committer | 2024-08-18 16:19:12 +0100 | |
| commit | d95be0a5165cf3cee3d1feedab1bdbdf21e5e419 (patch) | |
| tree | 20cdde19d3319c1423e63e37e5b26da6d5dad61b /src/modules/m_tline.cpp | |
| parent | Document 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.cpp | 6 |
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; } |
