diff options
| author | 2024-08-18 16:48:40 +0100 | |
|---|---|---|
| committer | 2024-08-18 16:48:40 +0100 | |
| commit | 00665cf5d69a723275a4f58e4b3e3e9af7316226 (patch) | |
| tree | cd8c92b7cda60e5099b3226169782b48f8be6235 /modules/remove.cpp | |
| parent | Update the example configs for <servicesintegration:disablemodes>. (diff) | |
| parent | Add Numeric::push_fmt(...) as shorthand for push(INSP_FORMAT(...)). (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/remove.cpp')
| -rw-r--r-- | modules/remove.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/remove.cpp b/modules/remove.cpp index f8b583e31..f718461bf 100644 --- a/modules/remove.cpp +++ b/modules/remove.cpp @@ -82,7 +82,7 @@ public: if (!channel->HasUser(target)) { - user->WriteNotice(fmt::format("*** User {} is not on channel {}", target->nick, channel->name)); + user->WriteNotice("*** User {} is not on channel {}", target->nick, channel->name); return CmdResult::FAILURE; } @@ -135,7 +135,7 @@ public: } else { - user->WriteNotice(fmt::format("*** You do not have access to /REMOVE {} from {}", target->nick, channel->name)); + user->WriteNotice("*** You do not have access to /REMOVE {} from {}", target->nick, channel->name); return CmdResult::FAILURE; } } |
