[pLog-svn] r4487 -
plugins/branches/lifetype-1.1/badbehavior/bad-behavior
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Thu Jan 4 14:29:06 GMT 2007
Author: jondaley
Date: 2007-01-04 14:29:05 +0000 (Thu, 04 Jan 2007)
New Revision: 4487
Modified:
plugins/branches/lifetype-1.1/badbehavior/bad-behavior/post.inc.php
Log:
shortened timeout to 1 second, since I tripped the 5 second timer myself when doing a search
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-04 13:12:33 UTC (rev 4486)
+++ plugins/branches/lifetype-1.1/badbehavior/bad-behavior/post.inc.php 2007-01-04 14:29:05 UTC (rev 4487)
@@ -42,14 +42,15 @@
if ($screener > 0) {
// Posting too fast? 5 sec
- // LifeType mod by jondaley: since pages can be cached, the cookie might not be updated
- // but this might catch fast spammers.
+ // LifeType mod by jondaley: catch 1 second posts
// FIXME: even 5 sec is too intrusive
- if ($screener + 5 > time())
+ 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
- // and this can get tripped incorrectly. NOTE, perhaps we could add the _POST[BB2_COOKIE]
+ // LifeType mod by jondaley: since pages can be cached,
+ // the cookie might not be updated
+ // and this can get tripped incorrectly. NOTE, perhaps
+ // we could add the _POST[BB2_COOKIE]
// to the post form? I think that isn't currently used?
// if ($screener + 172800 < time())
// return "b40c8ddc";
More information about the pLog-svn
mailing list