From b55ac06019785b308ac1ead44414f8c6dee226fc Mon Sep 17 00:00:00 2001 From: Adam- Date: Wed, 31 Mar 2010 04:41:56 +0000 Subject: Added akicks into SQL git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2848 5417fbe8-f217-4b02-8779-1006273d7864 --- include/modules.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'include') 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, -- cgit