mirror of
https://github.com/anope/anope.git
synced 2026-07-05 09:13:15 +02:00
Properly set up our clients as on our server internally. Fixes crashes when trying to akick our own clients etc
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ BotInfo::BotInfo(const std::string &nnick, const std::string &nuser, const std::
|
||||
BotListByUID[this->uid] = this;
|
||||
|
||||
// If we're synchronised with the uplink already, call introduce_user() for this bot.
|
||||
if (Me && Me->GetUplink()->IsSynced())
|
||||
if (Me && Me->GetUplink() && Me->GetUplink()->IsSynced())
|
||||
{
|
||||
ircdproto->SendClientIntroduction(this->nick, this->GetIdent(), this->host, this->realname, ircd->pseudoclient_mode, this->uid);
|
||||
XLine x(this->nick.c_str(), "Reserved for services");
|
||||
|
||||
Reference in New Issue
Block a user