From 15e7db5a211110c102b079b7651c51de392f5d2a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 18 Aug 2024 16:30:55 +0100 Subject: Add Numeric::push_fmt(...) as shorthand for push(INSP_FORMAT(...)). --- src/modules/m_uninvite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_uninvite.cpp') 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; } -- cgit v1.3.1-10-gc9f91