diff options
Diffstat (limited to 'src/modules/m_nickflood.cpp')
-rw-r--r-- | src/modules/m_nickflood.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp index 26d04835a..f6a808ffd 100644 --- a/src/modules/m_nickflood.cpp +++ b/src/modules/m_nickflood.cpp @@ -218,7 +218,7 @@ class ModuleNickFlood : public Module nickfloodsettings *f = nf.ext.get(channel); if (f) { - FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (channel->GetUser(user),channel,"nickflood")); + FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,channel,"nickflood")); if (res == MOD_RES_ALLOW) continue; @@ -257,7 +257,7 @@ class ModuleNickFlood : public Module nickfloodsettings *f = nf.ext.get(channel); if (f) { - FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (channel->GetUser(user),channel,"nickflood")); + FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,channel,"nickflood")); if (res == MOD_RES_ALLOW) return; |