From 365a515d4916857518bbffb52af9ac919f0a88d1 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Thu, 26 Jun 2025 18:15:43 +0200 Subject: kinda annoying --- webAO/client.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'webAO/client.ts') diff --git a/webAO/client.ts b/webAO/client.ts index 3aa770c..4d8390a 100644 --- a/webAO/client.ts +++ b/webAO/client.ts @@ -134,6 +134,7 @@ class Client extends EventEmitter { musics: any; musics_time: boolean; callwords: string[]; + enableCaptcha: boolean; banned: boolean; hdid: string; resources: any; @@ -179,6 +180,7 @@ class Client extends EventEmitter { } }; + this.enableCaptcha = false; this.banned = false; this.hp = [0, 0]; this.playerID = 1; @@ -247,7 +249,7 @@ class Client extends EventEmitter { */ joinServer() { this.sender.sendServer(`HI#${hdid}#%`); - if (getCookie("hdid") !== hdid) { + if (this.enableCaptcha && getCookie("hdid") !== hdid) { this.sender.sendServer(getCookie("hdid")); document.getElementById("client_secondfactor").style.display = "block"; document.getElementById("client_charselect").remove(); -- cgit