diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-07 17:03:55 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-07 17:03:55 +0000 |
commit | 2f93b4225f3b0f908170c6591cc083ee3d297348 (patch) | |
tree | 86e36c1bbba059ed3cf25517045940ebb8bc8023 /include/modules.h | |
parent | 004d9c7b18f7e5b8a4660e17238962630e2aadaa (diff) |
Added the OnBotPreLoad event to fix introducing StatServ
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2494 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 101fa6902..12a061c9e 100644 --- a/include/modules.h +++ b/include/modules.h @@ -578,6 +578,12 @@ class CoreExport Module */ virtual void OnBotBan(User *u, ChannelInfo *ci, const char *mask) { } + /** Called after a bot has been created, but NOT added to the internal + * list and NOT introduced + * @param bi The bot + */ + virtual void OnBotPreLoad(BotInfo *bi) { } + /** Called when a bot kicks a user * @param u The user being kicked * @param ci The channel @@ -890,7 +896,7 @@ enum Implementation /* BotServ */ I_OnBotJoin, I_OnBotKick, I_OnBotCreate, I_OnBotChange, I_OnBotDelete, I_OnBotAssign, I_OnBotUnAssign, - I_OnUserKicked, I_OnBotFantasy, I_OnBotNoFantasyAccess, I_OnBotBan, + I_OnUserKicked, I_OnBotFantasy, I_OnBotNoFantasyAccess, I_OnBotBan, I_OnBotPreLoad, /* HostServ */ I_OnDeleteHostCore, I_OnFindHostCore, I_OnInsertHostCore, |