Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2007-01-13 18:43:51 UTC
Modified files:
Tag: u2_10_12_branch
ChangeLog ircd/s_user.c
Log message:
Generate hidden hostname appropriately for bursted users with timestamped
accounts.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.131 ircu2.10/ChangeLog:1.710.2.132
--- ircu2.10/ChangeLog:1.710.2.131 Sat Jan 13 10:40:51 2007
+++ ircu2.10/ChangeLog Sat Jan 13 10:43:41 2007
@@ -1,5 +1,11 @@
2006-01-13 Michael Poole <[EMAIL PROTECTED]>
+ * 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 <[EMAIL PROTECTED]>
+
* doc/readme.who: Document 'd' user-matching flag.
2006-12-18 Michael Poole <[EMAIL PROTECTED]>
Index: ircu2.10/ircd/s_user.c
diff -u ircu2.10/ircd/s_user.c:1.99.2.2 ircu2.10/ircd/s_user.c:1.99.2.3
--- ircu2.10/ircd/s_user.c:1.99.2.2 Wed Feb 15 19:49:54 2006
+++ ircu2.10/ircd/s_user.c Sat Jan 13 10:43:41 2007
@@ -22,7 +22,7 @@
*/
/** @file
* @brief Miscellaneous user-related helper functions.
- * @version $Id: s_user.c,v 1.99.2.2 2006/02/16 03:49:54 entrope Exp $
+ * @version $Id: s_user.c,v 1.99.2.3 2007/01/13 18:43:41 entrope Exp $
*/
#include "config.h"
@@ -599,7 +599,8 @@
}
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);
}
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches