[Tkabber-dev] r236 - trunk/plugins/antispam

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Thu Nov 12 02:27:12 MSK 2009


Author: gebb
Date: 2009-11-12 02:27:12 +0300 (Thu, 12 Nov 2009)
New Revision: 236

Modified:
   trunk/plugins/antispam/antispam.tcl
Log:
Added logging of subscription requests. This was forgotten in r235.

Modified: trunk/plugins/antispam/antispam.tcl
===================================================================
--- trunk/plugins/antispam/antispam.tcl	2009-11-07 09:22:24 UTC (rev 235)
+++ trunk/plugins/antispam/antispam.tcl	2009-11-11 23:27:12 UTC (rev 236)
@@ -367,12 +367,12 @@
 			-status { set status $val }
 		}
 	}
-	# TODO: Log the subscription request.
 	if { ![meets_rules $from]
 		|| [regexp -nocase $options(password) $status] } {
 		return
 	}
 	roster::remove_item $xlib $from
+	log_msg $xlib $from {subscription request}
 	# Notify the sender on how to bypass the antispam system.
 	notify $xlib $from
 	debugmsg antispam \



More information about the Tkabber-dev mailing list