projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Generate hidden hostname appropriately for bursted users with timestamped accounts.
[ircu2.10.12-pk.git]
/
ircd
/
s_user.c
diff --git
a/ircd/s_user.c
b/ircd/s_user.c
index 8226a8e002b3e6be96f931a1501cd41454244d2f..ecedb0629085a789566bed87b7aab699568ac1be 100644
(file)
--- a/
ircd/s_user.c
+++ b/
ircd/s_user.c
@@
-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);
}