AKILL support

This commit is contained in:
Fish 2005-06-11 06:11:30 +00:00
parent 5df553a466
commit 318f3f1459
2 changed files with 4 additions and 1 deletions

View file

@ -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)

4
blsb.c
View file

@ -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));
}