diff options
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index a9933e336..512de4c46 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -29,7 +29,7 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A (*BotListByNick)[this->nick] = this; if (!this->uid.empty()) (*BotListByUID)[this->uid] = this; - + FOREACH_MOD(OnCreateBot, (this)); // If we're synchronised with the uplink already, send the bot. @@ -160,7 +160,7 @@ void BotInfo::Assign(User *u, ChannelInfo *ci) if (ci->bi) ci->bi->UnAssign(u, ci); - + ci->bi = this; this->channels->insert(ci); @@ -275,4 +275,3 @@ BotInfo* BotInfo::Find(const Anope::string &nick, bool nick_only) return NULL; } - |