summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-02-25 07:12:17 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-02-25 07:12:17 +0000
commit9edede4f3a594bb4dd3f028a8dc11d4a177d90fd (patch)
treecc5671ecf72d549723d633af530b331e4c9046e9 /src/bots.cpp
parent235c4ae95c1cf467ec47514c2226df675494c12c (diff)
Removed OnBotPreLoad event, this is a much better way to prevent multiple of the same bots being loaded
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2796 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bots.cpp b/src/bots.cpp
index 6e97d4aa2..e9b72f3e8 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -60,8 +60,6 @@ BotInfo::BotInfo(const std::string &nnick, const std::string &nuser, const std::
this->SetFlag(BI_GLOBAL);
}
- FOREACH_MOD(I_OnBotPreLoad, OnBotPreLoad(this));
-
insert_bot(this); // XXX, this is ugly, but it needs to stay until hashing of bots is redone in STL.
// If we're synchronised with the uplink already, call introduce_user() for this bot.