mirror of
https://github.com/anope/anope.git
synced 2026-06-26 06:36:40 +02:00
Fixed some issues with reconnecting if we disconnect from the uplink
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A
|
||||
BotListByUID[this->uid] = this;
|
||||
|
||||
// If we're synchronised with the uplink already, call introduce_user() for this bot.
|
||||
if (Me && Me->GetUplink() && Me->GetUplink()->IsSynced())
|
||||
if (Me && !Me->GetLinks().empty() && Me->GetLinks().front()->IsSynced())
|
||||
{
|
||||
ircdproto->SendClientIntroduction(this->nick, this->GetIdent(), this->host, this->realname, ircd->pseudoclient_mode, this->uid);
|
||||
XLine x(this->nick, "Reserved for services");
|
||||
|
||||
Reference in New Issue
Block a user