}
sendto_realops_snomask(SNO_BANNED, L_NETWIDE,
- "Rejecting K-Lined user %s [%s@%s]",
- get_client_name(source_p, HIDE_IP), aconf->user, aconf->host);
+ "Rejecting K-Lined user %s [%s] (%s@%s)", get_client_name(source_p, HIDE_IP),
+ show_ip(NULL, source_p) ? source_p->sockhost : "255.255.255.255", aconf->user, aconf->host);
notify_banned_client(source_p, aconf, K_LINED);
}
get_user_ban_reason(aconf));
sendto_realops_snomask(SNO_BANNED, L_NETWIDE,
- "Rejecting K-Lined user %s [%s@%s]",
- get_client_name(client_p, HIDE_IP), aconf->user, aconf->host);
+ "Rejecting K-Lined user %s [%s] (%s@%s)", get_client_name(client_p, HIDE_IP),
+ show_ip(NULL, client_p) ? client_p->sockhost : "255.255.255.255", aconf->user, aconf->host);
add_reject(client_p, aconf->user, aconf->host, aconf, NULL);
return (BANNED_CLIENT);
}
{
ServerStats.is_ref++;
sendto_realops_snomask(SNO_BANNED, L_NETWIDE,
- "Rejecting X-Lined user %s [%s]",
- get_client_name(client_p, HIDE_IP), xconf->host);
+ "Rejecting X-Lined user %s [%s] (%s)", get_client_name(source_p, HIDE_IP),
+ show_ip(NULL, source_p) ? source_p->sockhost : "255.255.255.255", xconf->host);
add_reject(source_p, xconf->host, NULL, NULL, NULL);
exit_client(client_p, source_p, &me, "Bad user info");