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 /include/modules.h | |
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 'include/modules.h')
-rw-r--r-- | include/modules.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index 0a1c759e5..b96e6c703 100644 --- a/include/modules.h +++ b/include/modules.h @@ -105,7 +105,7 @@ struct ModResult { }; /** If you change the module API in any way, increment this value. */ -#define API_VERSION 132 +#define API_VERSION 133 class ServerConfig; @@ -1284,7 +1284,7 @@ class CoreExport Module : public Extensible * @return MOD_RES_DENY to apply the restriction, MOD_RES_ALLOW to bypass * the restriction, or MOD_RES_PASSTHRU to check restriction status normally */ - virtual ModResult OnChannelRestrictionApply(Membership* memb, Channel* chan, const char* restriction); + virtual ModResult OnChannelRestrictionApply(User* user, Channel* chan, const char* restriction); }; |