[NeoStats-Devel] [Commits] r21 - trunk

[email protected]
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Fish
Date: Sat Jun 11 14:11:30 2005
New Revision: 21

Modified:
   trunk/ChangeLog
   trunk/blsb.c
Log:
AKILL support

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Sat Jun 11 14:11:30 2005
@@ -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)

Modified: trunk/blsb.c
==============================================================================
--- trunk/blsb.c	(original)
+++ trunk/blsb.c	Sat Jun 11 14:11:30 2005
@@ -178,7 +178,9 @@
 					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));
 			}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.