mirror of
https://github.com/anope/anope.git
synced 2026-06-28 19:36:39 +02:00
Fix handling nick introduction collisions on unreal4
This commit is contained in:
@@ -1279,7 +1279,7 @@ struct IRCDMessageUID : IRCDMessage
|
||||
|
||||
User *u = User::OnIntroduce(nickname, username, hostname, vhost, ip, source.GetServer(), info, user_ts, umodes, uid, na ? *na->nc : NULL);
|
||||
|
||||
if (!chost.empty() && chost != u->GetCloakedHost())
|
||||
if (u && !chost.empty() && chost != u->GetCloakedHost())
|
||||
u->SetCloakedHost(chost);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user