From 3db9d5f18c5ff0418bef56a12f98a5507596af80 Mon Sep 17 00:00:00 2001 From: FullGreaM Date: Thu, 13 Mar 2025 20:19:02 +0300 Subject: [PATCH] remove comment --- server/api/index.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/server/api/index.js b/server/api/index.js index 6d8a622..5b3b161 100644 --- a/server/api/index.js +++ b/server/api/index.js @@ -46,17 +46,6 @@ class API { decrypt (address, bytes) { throw new Error("Deprecated. Use TLS. If you see this error, please, add issue into: https://git.fullgream.tech/fullgream/ai-adventure-labs/issues"); - /*try { - if (!global.config.server.secureMode) - // return Buffer.from([]); - return undefined; - if (!this.sessions[address]) - return global.openSSH.decrypt(bytes); - else - this.sessions[address].decrypt(bytes); - } catch (err) { - return undefined; - }*/ } async exec (connection, bytes, cb) {