Generate hidden hostname appropriately for bursted users with timestamped accounts.
authorMichael Poole <mdpoole@troilus.org>
Sat, 13 Jan 2007 18:43:41 +0000 (18:43 +0000)
committerMichael Poole <mdpoole@troilus.org>
Sat, 13 Jan 2007 18:43:41 +0000 (18:43 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1743 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/s_user.c

index 38ddebaac3e97f1c05e237d51bf88bdb981b1761..edb182610dc320e9949b45c95b129f026a3ebb96 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-13  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_user.c (set_nick_name): Use user's account name rather
+       than the account parameter, in case the parameter contains a colon
+       (i.e. "account:1234" format).
+
 2006-01-13  Michael Poole <mdpoole@troilus.org>
 
        * doc/readme.who: Document 'd' user-matching flag.
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);
   }