ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_stats.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/modules/m_stats.c (file contents):
Revision 4816 by michael, Sat Nov 1 15:29:49 2014 UTC vs.
Revision 4968 by michael, Mon Dec 1 14:36:42 2014 UTC

# Line 876 | Line 876 | report_auth(struct Client *source_p, int
876        /* We are doing a partial list, based on what matches the u@h of the
877         * sender, so prepare the strings for comparing --fl_
878         */
879 <      if (ConfigGeneral.hide_spoof_ips)
880 <        sendto_one_numeric(source_p, &me, RPL_STATSILINE, 'I',
881 <                           conf->name == NULL ? "*" : conf->name,
882 <                           show_iline_prefix(source_p, conf),
883 <                           IsConfDoSpoofIp(conf) ? "255.255.255.255" :
884 <                           conf->host, conf->port,
885 <                           conf->class->name);
886 <
887 <      else
888 <        sendto_one_numeric(source_p, &me, RPL_STATSILINE, 'I',
889 <                           conf->name == NULL ? "*" : conf->name,
890 <                           show_iline_prefix(source_p, conf),
891 <                           conf->host, conf->port,
892 <                           conf->class->name);
879 >      sendto_one_numeric(source_p, &me, RPL_STATSILINE, 'I',
880 >                         conf->name == NULL ? "*" : conf->name,
881 >                         show_iline_prefix(source_p, conf),
882 >                         conf->host, conf->port,
883 >                         conf->class->name);
884      }
885    }
886   }
# Line 1415 | Line 1406 | stats_L_list(struct Client *source_p, co
1406      }
1407      else
1408      {
1409 <      /* If it's a hidden ip, an admin, or a server, mask the real IP */
1410 <      if (IsIPSpoof(target_p) || IsServer(target_p) || HasUMode(target_p, UMODE_ADMIN) ||
1420 <          IsHandshake(target_p) || IsConnecting(target_p))
1409 >      /* If it's a server, mask the real IP */
1410 >      if (IsServer(target_p) || IsHandshake(target_p) || IsConnecting(target_p))
1411          sendto_one_numeric(source_p, &me, RPL_STATSLINKINFO,
1412                     get_client_name(target_p, MASK_IP),
1413                     dbuf_length(&target_p->connection->buf_sendq),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines