X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fs_user.c;h=fb08e0bcc8fb7307c5161ebe10f5820fd3786223;hb=20b632f35118a043a8100f4faf6372c516326376;hp=407bb3ce27d3c2fbb67152d6c53bfe8580233c68;hpb=787ba07385499acc43314957a0243c757f5c90b5;p=ircu2.10.12-pk.git diff --git a/ircd/s_user.c b/ircd/s_user.c index 407bb3c..fb08e0b 100644 --- a/ircd/s_user.c +++ b/ircd/s_user.c @@ -456,6 +456,12 @@ int register_user(struct Client *cptr, struct Client *sptr) ++UserStats.inv_clients; if (IsOper(sptr)) ++UserStats.opers; + /* If they get both +x and an account during registration, hide + * their hostmask here. Calling hide_hostmask() from IAuth's + * account assignment causes a numeric reply during registration. + */ + if (HasHiddenHost(sptr)) + hide_hostmask(sptr, FLAG_HIDDENHOST); tmpstr = umode_str(sptr); /* Send full IP address to IPv6-grokking servers. */