From 543e0d770a99bfa2e289bf9e78806fd09a14a294 Mon Sep 17 00:00:00 2001 From: Adam- Date: Sun, 23 May 2010 20:46:23 +0000 Subject: Fixed bug #1165, fixed soem missing tables in /os sqlsync. Also added support for saving cs_levels git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2979 5417fbe8-f217-4b02-8779-1006273d7864 --- include/modules.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index aad816d39..e17c8b272 100644 --- a/include/modules.h +++ b/include/modules.h @@ -893,6 +893,14 @@ class CoreExport Module */ virtual void OnAccessClear(ChannelInfo *ci, User *u) { } + /** Called when a level for a channel is changed + * @param u The user changing the level + * @param ci The channel the level was changed on + * @param pos The level position, can be -1 for resetting levels + * @param what The new level + */ + virtual void OnLevelChange(User *u, ChannelInfo *ci, int pos, int what) { } + /** Called when a channel is dropped * @param chname The channel name */ @@ -1156,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_OnAccessDel, I_OnAccessClear, I_OnLevelChange, I_OnChanRegistered, I_OnChanUnsuspend, I_OnDelChan, I_OnChannelCreate, I_OnChannelDelete, I_OnAkickAdd, I_OnAkickDel, /* BotServ */ -- cgit