summaryrefslogtreecommitdiff
path: root/inc/anti-bot.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2013-01-24 04:56:06 +1100
committerMichael Save <savetheinternet@tinyboard.org>2013-01-24 04:56:06 +1100
commit85578b7105f7b53e0f45fc886270540b9d07b2f3 (patch)
treeb4f06522d034e3e5b280509a6ee17bcb9121c9f3 /inc/anti-bot.php
parentbceb314ce6f53247a307cf2d452238fd96d24d07 (diff)
Bugfix: Anti-bot check not allowing posting from second page
Diffstat (limited to 'inc/anti-bot.php')
-rw-r--r--inc/anti-bot.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/anti-bot.php b/inc/anti-bot.php
index 554bb844..bf29b3cb 100644
--- a/inc/anti-bot.php
+++ b/inc/anti-bot.php
@@ -152,6 +152,10 @@ class AntiBot {
return $html;
}
+ public function reset() {
+ $this->index = 0;
+ }
+
public function hash() {
global $config;