summaryrefslogtreecommitdiff
path: root/npc/functions/captcha.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-20 10:32:51 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-21 19:34:49 -0300
commitefd45ef96f04b986c014b8038ca66fee46f7933c (patch)
tree812319e4fa8b62bb222cdbe119b0f900fa2773e7 /npc/functions/captcha.txt
parent7c8a5f124a3dfe72258982accc0e78bfeda118a5 (diff)
downloadserverdata-efd45ef96f04b986c014b8038ca66fee46f7933c.tar.gz
serverdata-efd45ef96f04b986c014b8038ca66fee46f7933c.tar.bz2
serverdata-efd45ef96f04b986c014b8038ca66fee46f7933c.tar.xz
serverdata-efd45ef96f04b986c014b8038ca66fee46f7933c.zip
Fix a (possible?) typo and a comment on the wrong line in Malindou.
Diffstat (limited to 'npc/functions/captcha.txt')
-rw-r--r--npc/functions/captcha.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/captcha.txt b/npc/functions/captcha.txt
index 3061c18f6..9c3319aef 100644
--- a/npc/functions/captcha.txt
+++ b/npc/functions/captcha.txt
@@ -540,11 +540,11 @@ function captchaProbe {
// User disconnected, next captcha they'll be arrested because timer will expire
if (!.@online) {
$@BOTCHECK_TARGET=false;
- CAPTCHA_OK=false;
+ CAPTCHA_OK=false; // wtf?
}
// Timer expired? Ban hammer
- if (CAPTCHA_TIME+.thr > gettimetick(2) && CAPTCHA_OK <= CAPTCHA_TIME) {
+ if (CAPTCHA_TIME+.thr > gettimetick(2) && CAPTCHA_OK < CAPTCHA_TIME) {
atcommand("@jailfor 30mn "+strcharinfo(0));
dispbottom l("You failed to reply to the captcha in time and were arrested for AFK Botting. You can use @jailtime to keep track of time left.");
CaptchExample(true);