"KLINE active for ..." -> "Disconnecting K-Lined user ..."

This commit is contained in:
jess 2021-10-09 23:44:36 +01:00 committed by GitHub
parent 78825899cd
commit 430833dca2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -551,7 +551,7 @@ check_klines(void)
} }
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
"KLINE active for %s (%s@%s)", "Disconnecting K-Lined user %s (%s@%s)",
get_client_name(client_p, HIDE_IP), aconf->user, aconf->host); get_client_name(client_p, HIDE_IP), aconf->user, aconf->host);
notify_banned_client(client_p, aconf, K_LINED); notify_banned_client(client_p, aconf, K_LINED);
@ -634,7 +634,7 @@ check_one_kline(struct ConfItem *kline)
} }
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
"KLINE active for %s (%s@%s)", "Disconnecting K-Lined user %s (%s@%s)",
get_client_name(client_p, HIDE_IP), kline->user, kline->host); get_client_name(client_p, HIDE_IP), kline->user, kline->host);
notify_banned_client(client_p, kline, K_LINED); notify_banned_client(client_p, kline, K_LINED);
@ -669,7 +669,7 @@ check_dlines(void)
continue; continue;
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
"DLINE active for %s (%s)", "Disconnecting D-Lined user %s (%s)",
get_client_name(client_p, HIDE_IP), aconf->host); get_client_name(client_p, HIDE_IP), aconf->host);
notify_banned_client(client_p, aconf, D_LINED); notify_banned_client(client_p, aconf, D_LINED);
@ -725,7 +725,7 @@ check_xlines(void)
} }
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
"XLINE active for %s (%s)", "Disconnecting X-Lined user %s (%s)",
get_client_name(client_p, HIDE_IP), aconf->host); get_client_name(client_p, HIDE_IP), aconf->host);
(void) exit_client(client_p, client_p, &me, "Bad user info"); (void) exit_client(client_p, client_p, &me, "Bad user info");