explicitly show IP in SNO_BANNED snotes
This commit is contained in:
parent
e7ab04fc74
commit
78825899cd
3 changed files with 6 additions and 6 deletions
|
@ -129,8 +129,8 @@ check_new_user(void *vdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
sendto_realops_snomask(SNO_BANNED, L_NETWIDE,
|
sendto_realops_snomask(SNO_BANNED, L_NETWIDE,
|
||||||
"Rejecting K-Lined user %s [%s@%s]",
|
"Rejecting K-Lined user %s [%s] (%s@%s)", get_client_name(source_p, HIDE_IP),
|
||||||
get_client_name(source_p, HIDE_IP), aconf->user, aconf->host);
|
show_ip(NULL, source_p) ? source_p->sockhost : "255.255.255.255", aconf->user, aconf->host);
|
||||||
|
|
||||||
notify_banned_client(source_p, aconf, K_LINED);
|
notify_banned_client(source_p, aconf, K_LINED);
|
||||||
}
|
}
|
||||||
|
|
|
@ -368,8 +368,8 @@ verify_access(struct Client *client_p, const char *username)
|
||||||
get_user_ban_reason(aconf));
|
get_user_ban_reason(aconf));
|
||||||
|
|
||||||
sendto_realops_snomask(SNO_BANNED, L_NETWIDE,
|
sendto_realops_snomask(SNO_BANNED, L_NETWIDE,
|
||||||
"Rejecting K-Lined user %s [%s@%s]",
|
"Rejecting K-Lined user %s [%s] (%s@%s)", get_client_name(client_p, HIDE_IP),
|
||||||
get_client_name(client_p, HIDE_IP), aconf->user, aconf->host);
|
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);
|
add_reject(client_p, aconf->user, aconf->host, aconf, NULL);
|
||||||
return (BANNED_CLIENT);
|
return (BANNED_CLIENT);
|
||||||
}
|
}
|
||||||
|
|
|
@ -597,8 +597,8 @@ register_local_user(struct Client *client_p, struct Client *source_p)
|
||||||
{
|
{
|
||||||
ServerStats.is_ref++;
|
ServerStats.is_ref++;
|
||||||
sendto_realops_snomask(SNO_BANNED, L_NETWIDE,
|
sendto_realops_snomask(SNO_BANNED, L_NETWIDE,
|
||||||
"Rejecting X-Lined user %s [%s]",
|
"Rejecting X-Lined user %s [%s] (%s)", get_client_name(source_p, HIDE_IP),
|
||||||
get_client_name(client_p, HIDE_IP), xconf->host);
|
show_ip(NULL, source_p) ? source_p->sockhost : "255.255.255.255", xconf->host);
|
||||||
|
|
||||||
add_reject(source_p, xconf->host, NULL, NULL, NULL);
|
add_reject(source_p, xconf->host, NULL, NULL, NULL);
|
||||||
exit_client(client_p, source_p, &me, "Bad user info");
|
exit_client(client_p, source_p, &me, "Bad user info");
|
||||||
|
|
Loading…
Reference in a new issue