* Also, check to make sure user->cloakedhost exists at all.
* This so we won't crash in weird cases like non-conformant servers.
*/
- if (acptr->user->virthost && acptr->user->cloakedhost && strcasecmp(acptr->user->cloakedhost, GetHost(acptr)))
+ if (acptr->user->virthost && *acptr->user->cloakedhost && strcasecmp(acptr->user->cloakedhost, GetHost(acptr)))
{
/* Make the change effective: */
safestrdup(acptr->user->virthost, acptr->user->cloakedhost);