switch sasl_usercloak.c to use SNO_BANNED

This commit is contained in:
jesopo 2021-08-20 18:38:05 +01:00 committed by GitHub
parent 82436efb60
commit a8457d98e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,9 +128,9 @@ check_new_user(void *vdata)
return;
}
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
"KLINE active for %s",
get_client_name(source_p, HIDE_IP));
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);
notify_banned_client(source_p, aconf, K_LINED);
}