Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2007-04-05 01:39:49 UTC
Modified files:
Tag: u2_10_12_branch
ircd/s_user.c ChangeLog
Log message:
Fix on-connect host hiding for users with IAuth account stamps.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.175 ircu2.10/ChangeLog:1.710.2.176
--- ircu2.10/ChangeLog:1.710.2.175 Sat Mar 31 20:01:17 2007
+++ ircu2.10/ChangeLog Wed Apr 4 18:39:39 2007
@@ -1,3 +1,8 @@
+2007-04-01 J. R. Lenz <[EMAIL PROTECTED]>
+
+ * ircd/s_user.c (register_user): Check for host-hiding when fully
+ registering a user. [Comment added by Entrope.]
+
2007-03-31 Michael Poole <[EMAIL PROTECTED]>
* doc/readme.iauth (IAuth M): Document new command.
Index: ircu2.10/ircd/s_user.c
diff -u ircu2.10/ircd/s_user.c:1.99.2.5 ircu2.10/ircd/s_user.c:1.99.2.6
--- ircu2.10/ircd/s_user.c:1.99.2.5 Sat Mar 31 20:01:16 2007
+++ ircu2.10/ircd/s_user.c Wed Apr 4 18:39:38 2007
@@ -22,7 +22,7 @@
*/
/** @file
* @brief Miscellaneous user-related helper functions.
- * @version $Id: s_user.c,v 1.99.2.5 2007/04/01 03:01:16 entrope Exp $
+ * @version $Id: s_user.c,v 1.99.2.6 2007/04/05 01:39:38 entrope Exp $
*/
#include "config.h"
@@ -456,6 +456,12 @@
++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. */
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches