From 14dc142a9260f6f7f42864df0db18f266466af61 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 18 May 2013 14:26:18 -0400 Subject: Add botserv bot usermode config option --- include/modules.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index 31b09c2cf..641f6f80e 100644 --- a/include/modules.h +++ b/include/modules.h @@ -415,6 +415,11 @@ class CoreExport Module : public Extensible */ virtual void OnBadWordDel(ChannelInfo *ci, const BadWord *bw) { } + /** Called when a bot is created or destroyed + */ + virtual void OnCreateBot(BotInfo *bi) { } + virtual void OnDelBot(BotInfo *bi) { } + /** Called before a bot kicks a user * @param bi The bot sending the kick * @param c The channel the user is being kicked on @@ -1040,6 +1045,7 @@ enum Implementation I_OnChanInfo, I_OnCheckPriv, I_OnGroupCheckPriv, I_OnSetChannelOption, I_OnChannelSync, I_OnSetCorrectModes, /* BotServ */ + I_OnCreateBot, I_OnDelBot, I_OnBotKick, I_OnBotCreate, I_OnBotChange, I_OnBotDelete, I_OnPreBotAssign, I_OnBotAssign, I_OnBotUnAssign, I_OnPreUserKicked, I_OnUserKicked, I_OnBotFantasy, I_OnBotNoFantasyAccess, I_OnBotBan, I_OnBadWordAdd, I_OnBadWordDel, -- cgit