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 |
|
} |
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), |