diff options
author | Adam <Adam@anope.org> | 2013-07-03 22:45:00 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-03 22:45:00 -0400 |
commit | 7f971043bc0b552e0ec2f3a88bf123cecb007387 (patch) | |
tree | 2cc22c4b2c2d0231567624ad5d7595fbb97662ed /include/modules.h | |
parent | c2e1a8a3e2bc2144ad0c4c6009be3ea974aef58f (diff) |
Allow channels on access lists
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules.h b/include/modules.h index ffb8bbcc7..8948d3389 100644 --- a/include/modules.h +++ b/include/modules.h @@ -597,10 +597,10 @@ class CoreExport Module : public Extensible */ virtual void OnBotDelete(BotInfo *bi) { throw NotImplementedException(); } - /** Called when access is deleted from a channel + /** Called after an access entry is deleted from a channel * @param ci The channel * @param source The source of the command - * @param access The access entry being removed + * @param access The access entry that was removed */ virtual void OnAccessDel(ChannelInfo *ci, CommandSource &source, ChanAccess *access) { throw NotImplementedException(); } @@ -704,7 +704,7 @@ class CoreExport Module : public Extensible * @param priv The privilege being checked for * @return EVENT_ALLOW for yes, EVENT_STOP to stop all processing */ - virtual EventReturn OnCheckPriv(ChanAccess *access, const Anope::string &priv) { throw NotImplementedException(); } + virtual EventReturn OnCheckPriv(const ChanAccess *access, const Anope::string &priv) { throw NotImplementedException(); } /** Check whether an access group has a privilege * @param group The group |