aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_uninvite.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-18 16:30:55 +0100
committerGravatar Sadie Powell2024-08-18 16:30:55 +0100
commit15e7db5a211110c102b079b7651c51de392f5d2a (patch)
treecedd23189e99887e57120503237dc4bc147776dd /src/modules/m_uninvite.cpp
parentAdd a formatting overload to {Membership,User}::Write(Remote)Notice. (diff)
Add Numeric::push_fmt(...) as shorthand for push(INSP_FORMAT(...)).
Diffstat (limited to 'src/modules/m_uninvite.cpp')
-rw-r--r--src/modules/m_uninvite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp
index 5a4a22247..c79a0c760 100644
--- a/src/modules/m_uninvite.cpp
+++ b/src/modules/m_uninvite.cpp
@@ -95,7 +95,7 @@ public:
{
Numeric::Numeric n(ERR_NOTINVITED);
n.SetServer(user->server);
- n.push(u->nick).push(c->name).push(INSP_FORMAT("Is not invited to channel {}", c->name));
+ n.push(u->nick, c->name).push_fmt("Is not invited to channel {}", c->name);
user->WriteRemoteNumeric(n);
return CmdResult::FAILURE;
}