switch "KDX-Line active for" snote to L_NETWIDE and include which mask
caused it
This commit is contained in:
parent
f89a8deb3e
commit
36828ff720
1 changed files with 12 additions and 11 deletions
|
@ -555,9 +555,9 @@ check_klines(void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
|
||||||
"KLINE active for %s",
|
"KLINE active for %s (%s@%s)",
|
||||||
get_client_name(client_p, HIDE_IP));
|
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);
|
||||||
continue;
|
continue;
|
||||||
|
@ -638,9 +638,9 @@ check_one_kline(struct ConfItem *kline)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
|
||||||
"KLINE active for %s",
|
"KLINE active for %s (%s@%s)",
|
||||||
get_client_name(client_p, HIDE_IP));
|
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);
|
||||||
}
|
}
|
||||||
|
@ -673,9 +673,9 @@ check_dlines(void)
|
||||||
if(aconf->status & CONF_EXEMPTDLINE)
|
if(aconf->status & CONF_EXEMPTDLINE)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
|
||||||
"DLINE active for %s",
|
"DLINE active for %s (%s)",
|
||||||
get_client_name(client_p, HIDE_IP));
|
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);
|
||||||
continue;
|
continue;
|
||||||
|
@ -729,8 +729,9 @@ check_xlines(void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_ALL, "XLINE active for %s",
|
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
|
||||||
get_client_name(client_p, HIDE_IP));
|
"XLINE active for %s (%s)",
|
||||||
|
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");
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue