show IP, not rDNS, for SNO_BANNED snotes

This commit is contained in:
jesopo 2021-08-20 22:57:23 +00:00
parent a8457d98e5
commit 057f0385aa
3 changed files with 3 additions and 3 deletions

View file

@ -130,7 +130,7 @@ check_new_user(void *vdata)
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);
get_client_name(source_p, SHOW_IP), aconf->user, aconf->host);
notify_banned_client(source_p, aconf, K_LINED);
}

View file

@ -369,7 +369,7 @@ verify_access(struct Client *client_p, const char *username)
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);
get_client_name(client_p, SHOW_IP), aconf->user, aconf->host);
add_reject(client_p, aconf->user, aconf->host, aconf, NULL);
return (BANNED_CLIENT);
}

View file

@ -598,7 +598,7 @@ register_local_user(struct Client *client_p, struct Client *source_p)
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);
get_client_name(client_p, SHOW_IP), xconf->host);
add_reject(source_p, xconf->host, NULL, NULL, NULL);
exit_client(client_p, source_p, &me, "Bad user info");