From 7340b36bf241f259a25c2920d83ccfb1557de3de Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 8 Mar 2009 13:30:30 +0100 Subject: [PATCH] rehash bans: still check k/x lines for users exempt from dlines --- src/client.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/client.c b/src/client.c index ac45624f..41da8952 100644 --- a/src/client.c +++ b/src/client.c @@ -459,11 +459,8 @@ check_banned_lines(void) continue; /* if there is a returned struct ConfItem then kill it */ - if((aconf = find_dline((struct sockaddr *)&client_p->localClient->ip, client_p->localClient->ip.ss_family))) + if((aconf = find_dline((struct sockaddr *)&client_p->localClient->ip, client_p->localClient->ip.ss_family)) && !(aconf->status & CONF_EXEMPTDLINE)) { - if(aconf->status & CONF_EXEMPTDLINE) - continue; - sendto_realops_snomask(SNO_GENERAL, L_ALL, "DLINE active for %s", get_client_name(client_p, HIDE_IP));