diff --git a/ChangeLog b/ChangeLog index 4fea838..0cf6b6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ Black List Scanning Bot Module for NeoStats Changelog. ============================================================================== 3.0.a3-dev - Fish (F) & Mark (M) + - AKILL support (F) - Reorder add command so name works. (M) - Simplify command paths. (M) - Initial Version. (F) diff --git a/blsb.c b/blsb.c index f99b15e..7d8a843 100644 --- a/blsb.c +++ b/blsb.c @@ -178,7 +178,9 @@ void dnsbl_callback(void *data, adns_answer *a) irc_chanalert( blsb_bot, "%s exists in %s blacklist: %s", sc->user->name, sc->domain->name, show ); if (sc->check) irc_prefmsg(blsb_bot, sc->check, "%s exists in %s blacklist: %s", sc->user->name, sc->domain->name, show); - /* XXX AKILL */ + irc_prefmsg(blsb_bot, sc->user, "Your Host is listed as a Open Proxy in %s: %s", sc->domain->name, show); + if (blsb.doakill) + irc_akill (blsb_bot, sc->ip, "*", blsb.akilltime, "Your Host is listed as a Open Proxy in %s: %s", sc->domain->name, show); } else { nlog(LOG_WARNING, "DNS error %s", adns_strerror(ri)); }