[pLog-svn] r7173 - plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Wed Feb 22 00:11:29 EST 2012


Author: jondaley
Date: 2012-02-22 00:11:29 -0500 (Wed, 22 Feb 2012)
New Revision: 7173

Modified:
   plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/post.inc.php
Log:
re-disabled the check due to our template caching.  (I left pwestbro's mod turned off, since I'm not sure why it was done, and it was done 6 years ago, so perhaps we don't need to comment it out any more?

Modified: plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/post.inc.php
===================================================================
--- plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/post.inc.php	2012-02-22 05:08:44 UTC (rev 7172)
+++ plog/branches/lifetype-1.2/plugins/badbehavior/bad-behavior/post.inc.php	2012-02-22 05:11:29 UTC (rev 7173)
@@ -77,8 +77,10 @@
 		// if ($screener + 5 > time())
 		//	return "408d7e72";
 		// Posting too slow? 48 hr
-		if ($screener + 172800 < time())
-			return "b40c8ddc";
+            // LifeType mod by jondaley: since pages can be cached, the cookie might not be updated
+            // and this can get tripped incorrectly
+//		if ($screener + 172800 < time())
+//			return "b40c8ddc";
 
 		// Screen by IP address
 		$ip = ip2long($package['ip']);



More information about the pLog-svn mailing list