+
+ {
+ struct ConfItem *aconf = find_kline(source_p);
+
+ if(aconf == NULL)
+ return;
+
+ if(IsExemptKline(source_p))
+ {
+ sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
+ "KLINE over-ruled for %s, client is kline_exempt [%s@%s]",
+ get_client_name(source_p, HIDE_IP),
+ aconf->user, aconf->host);
+ return;
+ }
+
+ sendto_realops_snomask(SNO_GENERAL, L_ALL,
+ "KLINE active for %s",
+ get_client_name(source_p, HIDE_IP));
+
+ notify_banned_client(source_p, aconf, K_LINED);
+ }