diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-12 20:23:26 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-12 20:23:26 +0000 |
commit | 4ab15e865571f78cd8ea22c47a1a3b7d3372a786 (patch) | |
tree | 6a9cb24eb92502a6f3153d681ac3f3f5e584d61d /src/modules/m_messageflood.cpp | |
parent | ee6087e2b463c63d58a37d0f1b611c0893fa35a5 (diff) |
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
Diffstat (limited to 'src/modules/m_messageflood.cpp')
-rw-r--r-- | src/modules/m_messageflood.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp index 8a521ebab..bf79babb2 100644 --- a/src/modules/m_messageflood.cpp +++ b/src/modules/m_messageflood.cpp @@ -208,7 +208,7 @@ class ModuleMsgFlood : public Module ModResult ProcessMessages(User* user,Channel* dest, const std::string &text) { ModResult res; - FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (dest->GetUser(user),dest,"flood")); + FIRST_MOD_RESULT(OnChannelRestrictionApply, res, (user,dest,"flood")); if (!IS_LOCAL(user) || res == MOD_RES_ALLOW) return MOD_RES_PASSTHRU; |