diff options
author | Adam <Adam@anope.org> | 2016-05-20 21:18:34 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-05-20 21:18:34 -0400 |
commit | 56b158ea430ace114db1a44558923b2641b44fea (patch) | |
tree | 3ac7d9d4e07e00bf1660fb95355a9d30f4cebcdf | |
parent | 0143dafe518dfe1ec030e80091d150d1d30f0e26 (diff) |
Fix handling nick introduction collisions on unreal4
-rw-r--r-- | modules/protocol/unreal4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/unreal4.cpp b/modules/protocol/unreal4.cpp index a9928316d..6e5f6ec55 100644 --- a/modules/protocol/unreal4.cpp +++ b/modules/protocol/unreal4.cpp @@ -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); } }; |