remove comment

This commit is contained in:
FullGreaM 2025-03-13 20:19:02 +03:00
parent f01ecdf5a8
commit 3db9d5f18c

View File

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