sush my little blsb - shutup about nodata responses

This commit is contained in:
Fish 2008-01-07 12:19:29 +00:00
parent 2e0c0f96b5
commit 284139f0e7

2
blsb.c
View file

@ -210,7 +210,7 @@ static void dnsbl_callback(void *data, adns_answer *a)
} }
if (a->type == adns_r_a) ns_free(show); if (a->type == adns_r_a) ns_free(show);
} }
} else if (a && (a->status == adns_s_nxdomain)) { } else if (a && ((a->status == adns_s_nxdomain) || (a->status == adns_s_nodata))) {
if (blsb.verbose) if (blsb.verbose)
irc_chanalert( blsb_bot, "%s (%s) does not exist in %s blacklist", sc->usernick, sc->ip, sc->domain->name); irc_chanalert( blsb_bot, "%s (%s) does not exist in %s blacklist", sc->usernick, sc->ip, sc->domain->name);
if( sc->checknick[0] != '\0' ) if( sc->checknick[0] != '\0' )