From 4ab15e865571f78cd8ea22c47a1a3b7d3372a786 Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 12 Oct 2009 20:23:26 +0000 Subject: Make OnChannelRestrictionApply take a User* instead of a Membership* [jackmcbarn] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11858 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_nickflood.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_nickflood.cpp') 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; -- cgit v1.2.3