diff options
| author | Adam <Adam@drink-coca-cola.info> | 2010-05-17 20:33:28 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-18 21:03:41 -0400 |
| commit | 17ab4104005cc5098d9152e6c90d54977222dd06 (patch) | |
| tree | d8ffffedcf5537292a4f19faeb5f1e7796969132 /include/modules.h | |
| parent | 2a22d9c2fdf6978858055f1143af0ec40e417424 (diff) | |
Removed process_numlist and having to mark everything as "in use" and constantly checking it. Replaced with a better system.
Diffstat (limited to 'include/modules.h')
| -rw-r--r-- | include/modules.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/modules.h b/include/modules.h index d76b8f70b..98dfd6d3e 100644 --- a/include/modules.h +++ b/include/modules.h @@ -790,18 +790,18 @@ class CoreExport Module /** Called when access is changed * @param ci The channel * @param u The user who changed the access - * @param na The nick whos access was changed + * @param nc The nick whos access was changed * @param level The level of the new access */ - virtual void OnAccessChange(ChannelInfo *ci, User *u, NickAlias *na, int level) { } + virtual void OnAccessChange(ChannelInfo *ci, User *u, NickCore *nc, int level) { } /** Called when access is added * @param ci The channel * @param u The user who added the access - * @para na The nick who was added to access + * @para nc The nick who was added to access * @param level The level they were added at */ - virtual void OnAccessAdd(ChannelInfo *ci, User *u, NickAlias *na, int level) { } + virtual void OnAccessAdd(ChannelInfo *ci, User *u, NickCore *nc, int level) { } /** Called when the access list is cleared * @param ci The channel @@ -858,16 +858,18 @@ class CoreExport Module virtual void OnChannelDelete(Channel *c) { } /** Called after adding an akick to a channel + * @param u The user adding the akick * @param ci The channel * @param ak The akick */ - virtual void OnAkickAdd(ChannelInfo *ci, AutoKick *ak) { } + virtual void OnAkickAdd(User *u, ChannelInfo *ci, AutoKick *ak) { } /** Called before removing an akick from a channel + * @param u The user removing the akick * @param ci The channel * @param ak The akick */ - virtual void OnAkickDel(ChannelInfo *ci, AutoKick *ak) { } + virtual void OnAkickDel(User *u, ChannelInfo *ci, AutoKick *ak) { } /** Called when a user requests info for a channel * @param u The user requesting info |
