summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-18 14:26:18 -0400
committerAdam <Adam@anope.org>2013-05-18 14:26:18 -0400
commit14dc142a9260f6f7f42864df0db18f266466af61 (patch)
tree0303da16f44abb86d13f582ea3d924021f86681f /include/modules.h
parent51b7d53108a01fcd0854fe9d602fee330339d4d3 (diff)
Add botserv bot usermode config option
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h6
1 files changed, 6 insertions, 0 deletions
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,