diff options
Diffstat (limited to 'modules/protocol/unreal4.cpp')
-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); } }; |