summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-30 03:02:33 -0500
committerAdam <Adam@anope.org>2010-12-12 19:37:02 -0500
commit0ba566491ea246fcc895862d0ef80bdf4ee43b4b (patch)
tree9852671d32476ddad58e264a8e074c41fef9f69f /include/modules.h
parent2a4d57a1cacd22084abea5dd21c87dc733a7b5bf (diff)
Allowing adding hostmasks to channel access lists
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/include/modules.h b/include/modules.h
index 12e7884f8..c96c1ae27 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -723,25 +723,23 @@ class CoreExport Module : public Extensible
/** Called when access is deleted from a channel
* @param ci The channel
* @param u The user who removed the access
- * @param nc The user who was deleted
+ * @param access The access entry being removed
*/
- virtual void OnAccessDel(ChannelInfo *ci, User *u, NickCore *nc) { }
+ virtual void OnAccessDel(ChannelInfo *ci, User *u, ChanAccess *access) { }
/** Called when access is changed
* @param ci The channel
* @param u The user who changed the access
- * @param nc The nick whos access was changed
- * @param level The level of the new access
+ * @param u access The access changed
*/
- virtual void OnAccessChange(ChannelInfo *ci, User *u, NickCore *nc, int level) { }
+ virtual void OnAccessChange(ChannelInfo *ci, User *u, ChanAccess *access) { }
/** Called when access is added
* @param ci The channel
* @param u The user who added the access
- * @para nc The nick who was added to access
- * @param level The level they were added at
+ * @param access The access changed
*/
- virtual void OnAccessAdd(ChannelInfo *ci, User *u, NickCore *nc, int level) { }
+ virtual void OnAccessAdd(ChannelInfo *ci, User *u, ChanAccess *access) { }
/** Called when the access list is cleared
* @param ci The channel