Generate hidden hostname appropriately for bursted users with timestamped accounts.
[ircu2.10.12-pk.git] / ircd / s_user.c
index 8226a8e002b3e6be96f931a1501cd41454244d2f..ecedb0629085a789566bed87b7aab699568ac1be 100644 (file)
@@ -599,7 +599,8 @@ int set_nick_name(struct Client* cptr, struct Client* sptr,
     }
     if (HasHiddenHost(new_client))
       ircd_snprintf(0, cli_user(new_client)->host, HOSTLEN, "%s.%s",
-        account, feature_str(FEAT_HIDDEN_HOST));
+                    cli_user(new_client)->account,
+                    feature_str(FEAT_HIDDEN_HOST));
 
     return register_user(cptr, new_client);
   }