Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2004-05-15 16:21:58 UTC

Modified files:
     ChangeLog ircd/m_userhost.c ircd/m_userip.c

Log message:

Forward port USERHOST and USERIP self-visibility fixes from 2.10.11.
Give splidge ChangeLog credit for the socket buffer patch.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.404 ircu2.10/ChangeLog:1.405
--- ircu2.10/ChangeLog:1.404    Sat May 15 09:18:07 2004
+++ ircu2.10/ChangeLog  Sat May 15 09:21:47 2004
@@ -1,3 +1,11 @@
+2004-05-15  volta <[EMAIL PROTECTED]>
+
+       [Original ChangeLog date: 2003-04-26 -MDP]
+
+         * ircd/m_userip.c, ircd/m_userhost.c: Small fix, that
+         allows users to see their own ip & hostname. (Should solve
+         all problems with dcc)
+
 2004-05-15  Kevin L Mitchell  <[EMAIL PROTECTED]>
 
        [Original ChangeLog date: 2003-06-13 -MDP]
@@ -50,6 +58,16 @@
        to off.  if an admin is smart enough to understand these features
        they can enable them manually.
 
+2004-05-15  splidge  <[EMAIL PROTECTED]>
+
+       [Original ChangeLog date: 2003-03-26 -MDP]
+
+       * ircd/include/ircd_features.h, include/ircd_osdep.h,
+         ircd/ircd_features.c, ircd/listener.c, ircd/os_bsd.c, 
+         ircd/os_generic.c, ircd/os_linux.c, ircd/os_openbsd.c
+         ircd/os_solaris.c, ircd/s_bsd.c: Patch to allow socket bufs to be 
+         altered via F: lines
+
 2004-05-15  Isomer <[EMAIL PROTECTED]>
 
        [Original ChangeLog date: 2003-11-18 -MDP]
Index: ircu2.10/ircd/m_userhost.c
diff -u ircu2.10/ircd/m_userhost.c:1.12 ircu2.10/ircd/m_userhost.c:1.13
--- ircu2.10/ircd/m_userhost.c:1.12     Tue Aug 12 02:41:17 2003
+++ ircu2.10/ircd/m_userhost.c  Sat May 15 09:21:48 2004
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: m_userhost.c,v 1.12 2003/08/12 09:41:17 denspike Exp $
+ * $Id: m_userhost.c,v 1.13 2004/05/15 16:21:48 entrope Exp $
  */
 
 /*
@@ -97,7 +97,7 @@
   msgq_append(0, mb, "[EMAIL PROTECTED]", cli_name(cptr),
               SeeOper(sptr,cptr) ? "*" : "",
              cli_user(cptr)->away ? '-' : '+', cli_user(cptr)->username,
-             HasHiddenHost(cptr) && !IsAnOper(sptr) ?
+             HasHiddenHost(cptr) && !IsAnOper(sptr) && (sptr != cptr) ?
              cli_user(cptr)->host : cli_user(cptr)->realhost);
 }
 
Index: ircu2.10/ircd/m_userip.c
diff -u ircu2.10/ircd/m_userip.c:1.11 ircu2.10/ircd/m_userip.c:1.12
--- ircu2.10/ircd/m_userip.c:1.11       Tue Aug 12 02:41:17 2003
+++ ircu2.10/ircd/m_userip.c    Sat May 15 09:21:48 2004
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: m_userip.c,v 1.11 2003/08/12 09:41:17 denspike Exp $
+ * $Id: m_userip.c,v 1.12 2004/05/15 16:21:48 entrope Exp $
  */
 
 /*
@@ -98,7 +98,7 @@
   msgq_append(0, mb, "[EMAIL PROTECTED]", cli_name(cptr),
              SeeOper(sptr,cptr) ? "*" : "",
              cli_user(cptr)->away ? '-' : '+', cli_user(cptr)->username,
-             HasHiddenHost(cptr) && !IsAnOper(sptr) ?
+             HasHiddenHost(cptr) && !IsAnOper(sptr) && (sptr != cptr) ?
              feature_str(FEAT_HIDDEN_IP) :
              ircd_ntoa((const char*) &(cli_ip(cptr))));
 }
----------------------- End of diff -----------------------

Reply via email to