[pLog-svn] r4532 - plugins/branches/lifetype-1.1/badbehavior/bad-behavior

pwestbro at devel.lifetype.net pwestbro at devel.lifetype.net
Thu Jan 11 04:15:10 GMT 2007


Author: pwestbro
Date: 2007-01-11 04:15:08 +0000 (Thu, 11 Jan 2007)
New Revision: 4532

Modified:
   plugins/branches/lifetype-1.1/badbehavior/bad-behavior/post.inc.php
Log:
Reenable the "posting too fast" check


Modified: plugins/branches/lifetype-1.1/badbehavior/bad-behavior/post.inc.php
===================================================================
--- plugins/branches/lifetype-1.1/badbehavior/bad-behavior/post.inc.php	2007-01-11 00:59:14 UTC (rev 4531)
+++ plugins/branches/lifetype-1.1/badbehavior/bad-behavior/post.inc.php	2007-01-11 04:15:08 UTC (rev 4532)
@@ -42,9 +42,10 @@
 
 	if ($screener > 0) {
 		// Posting too fast? 5 sec
+        // LifeType mod by jondaley: catch 1 second posts
 		// FIXME: even 5 sec is too intrusive
-		// if ($screener + 5 > time())
-		//	return "408d7e72";
+        if ($screener + 1 > time())
+			return "408d7e72";
 		// Posting too slow? 48 hr
         // LifeType mod by jondaley: since pages can be cached,
         // the cookie might not be updated



More information about the pLog-svn mailing list