diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-28 07:57:05 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-28 07:57:05 +0000 |
commit | f4bcf833ecb4c139544bf6de5fadabca56e016e9 (patch) | |
tree | 16beb2e9a5aa055aebb1e8391207fff7000b68f6 /include | |
parent | aa90411f3ad2361db810a064906c2d8047a8ff92 (diff) |
Finish rest of BotServ SQL stuff
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2839 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 945641511..5a47db2ed 100644 --- a/include/modules.h +++ b/include/modules.h @@ -601,6 +601,18 @@ class CoreExport Module * @param mask The mask being banned */ virtual void OnBotBan(User *u, ChannelInfo *ci, const char *mask) { } + + /** Called before a badword is added to the badword list + * @param ci The channel + * @param bw The badword + */ + virtual void OnBadWordAdd(ChannelInfo *ci, BadWord *bw) { } + + /** Called before a badword is deleted from a channel + * @param ci The channel + * @param bw The badword + */ + virtual void OnBadWordDel(ChannelInfo *ci, BadWord *bw) { } /** Called before a bot kicks a user * @param bi The bot sending the kick @@ -1144,7 +1156,7 @@ enum Implementation /* BotServ */ I_OnBotServHelp, I_OnBotJoin, I_OnBotKick, I_OnBotCreate, I_OnBotChange, I_OnBotDelete, I_OnBotAssign, I_OnBotUnAssign, - I_OnUserKicked, I_OnBotFantasy, I_OnBotNoFantasyAccess, I_OnBotBan, I_OnBotPreLoad, + I_OnUserKicked, I_OnBotFantasy, I_OnBotNoFantasyAccess, I_OnBotBan, I_OnBadWordAdd, I_OnBadWordDel, /* HostServ */ I_OnHostServHelp, I_OnSetVhost, I_OnDeleteVhost, |