summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-31 04:41:56 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-03-31 04:41:56 +0000
commitb55ac06019785b308ac1ead44414f8c6dee226fc (patch)
tree513033038be0a1a327b8dc714936d29d2f742353 /include
parenteaf211d59ca799719970f2789758eff6bc269eab (diff)
Added akicks into SQL
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2848 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/modules.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 5a47db2ed..318f5e397 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -930,6 +930,18 @@ class CoreExport Module
*/
virtual void OnChannelDelete(Channel *c) { }
+ /** Called after adding an akick to a channel
+ * @param ci The channel
+ * @param ak The akick
+ */
+ virtual void OnAkickAdd(ChannelInfo *ci, AutoKick *ak) { }
+
+ /** Called before removing an akick from a channel
+ * @param ci The channel
+ * @param ak The akick
+ */
+ virtual void OnAkickDel(ChannelInfo *ci, AutoKick *ak) { }
+
/** Called when a nick is dropped
* @param nick The nick
*/
@@ -1152,7 +1164,7 @@ enum Implementation
/* ChanServ */
I_OnChanServHelp, I_OnChanForbidden, I_OnChanSuspend, I_OnChanDrop, I_OnPreChanExpire, I_OnChanExpire, I_OnAccessAdd, I_OnAccessChange,
I_OnAccessDel, I_OnAccessClear, I_OnChanRegistered, I_OnChanUnsuspend, I_OnDelChan, I_OnChannelCreate,
- I_OnChannelDelete,
+ I_OnChannelDelete, I_OnAkickAdd, I_OnAkickDel,
/* BotServ */
I_OnBotServHelp, I_OnBotJoin, I_OnBotKick, I_OnBotCreate, I_OnBotChange, I_OnBotDelete, I_OnBotAssign, I_OnBotUnAssign,