fix exclusions list for BLSB

This commit is contained in:
Fish 2006-07-08 06:47:01 +00:00
parent 3987e22bcd
commit 0487f0fad4

2
blsb.c
View file

@ -200,7 +200,7 @@ static void dnsbl_callback(void *data, adns_answer *a)
if( u ) if( u )
irc_prefmsg(blsb_bot, u, "Your Host is listed as a inscure host at %s: %s", sc->domain->name, show); irc_prefmsg(blsb_bot, u, "Your Host is listed as a inscure host at %s: %s", sc->domain->name, show);
if (blsb.doakill) { if (blsb.doakill) {
if( sc->exclude < 1 ) if( sc->exclude != 1 )
{ {
irc_akill (blsb_bot, sc->ip, "*", blsb.akilltime, "Your Host is listed as a insecure host at %s: %s", sc->domain->name, show); irc_akill (blsb_bot, sc->ip, "*", blsb.akilltime, "Your Host is listed as a insecure host at %s: %s", sc->domain->name, show);
irc_chanalert( blsb_bot, "Akilling %s!%s@%s", sc->usernick, sc->username, sc->hostname); irc_chanalert( blsb_bot, "Akilling %s!%s@%s", sc->usernick, sc->username, sc->hostname);