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) {