diff options
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index e663d9225..f65f2a35e 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -63,8 +63,7 @@ BotInfo::BotInfo(const std::string &nnick, const std::string &nuser, const std:: 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. - if (serv_uplink && serv_uplink->sync == SSYNC_DONE) - { + if (Me && Me->GetUplink()->IsSynced()) ircdproto->SendClientIntroduction(this->nick, this->user, this->host, this->real, ircd->pseudoclient_mode, this->uid); ircdproto->SendSQLine(this->nick, "Reserved for services"); } |