1
0
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:
Adam
2010-07-10 21:18:22 -04:00
parent fa622aae38
commit a495213026
8 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -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");