diff options
author | Adam <Adam@anope.org> | 2010-09-10 15:46:19 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-09-10 15:46:19 -0400 |
commit | 9eb7562bee7f2a52cf91b0ab0ebc10351f2a46f2 (patch) | |
tree | 1dcc4928486a08643af70f69f094ab44c41642e5 /src/bots.cpp | |
parent | 46813ccb8c6ab572b8a9ff0a39afb1d92dc4482b (diff) |
Fixed bug #1187 - Fixed releasing enforcer clients on TS6 IRCds
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index 13b21e1ce..6b7e77377 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -51,9 +51,9 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A BotListByUID[this->uid] = this; // If we're synchronised with the uplink already, send the bot. - if (Me && !Me->GetLinks().empty() && Me->GetLinks().front()->IsSynced()) + if (Me && Me->IsSynced()) { - ircdproto->SendClientIntroduction(this->nick, this->GetIdent(), this->host, this->realname, ircd->pseudoclient_mode, this->uid); + ircdproto->SendClientIntroduction(this, ircd->pseudoclient_mode); XLine x(this->nick, "Reserved for services"); ircdproto->SendSQLine(&x); } |