From 89537ed2ab22fcedb25e0378bd2c18e392911c0c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Sep 2022 12:01:29 +0100 Subject: Fix various cases of the &* being next to the name instead of type. --- src/modules/m_nickflood.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_nickflood.cpp') diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp index 9e13975d1..c671baf85 100644 --- a/src/modules/m_nickflood.cpp +++ b/src/modules/m_nickflood.cpp @@ -149,7 +149,7 @@ public: { for (const auto* memb : user->chans) { - nickfloodsettings *f = nf.ext.Get(memb->chan); + nickfloodsettings* f = nf.ext.Get(memb->chan); if (f) { ModResult res = CheckExemption::Call(exemptionprov, user, memb->chan, "nickflood"); @@ -180,14 +180,14 @@ public: /* * XXX: HACK: We do the increment on the *POST* event here (instead of all together) because we have no way of knowing whether other modules would block a nickchange. */ - void OnUserPostNick(User* user, const std::string &oldnick) override + void OnUserPostNick(User* user, const std::string& oldnick) override { if (isdigit(user->nick[0])) /* allow switches to UID */ return; for (const auto* memb : user->chans) { - nickfloodsettings *f = nf.ext.Get(memb->chan); + nickfloodsettings* f = nf.ext.Get(memb->chan); if (f) { ModResult res = CheckExemption::Call(exemptionprov, user, memb->chan, "nickflood"); -- cgit v1.3.1-10-gc9f91