remove comment
This commit is contained in:
parent
f01ecdf5a8
commit
3db9d5f18c
@ -46,17 +46,6 @@ class API {
|
|||||||
|
|
||||||
decrypt (address, bytes) {
|
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");
|
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) {
|
async exec (connection, bytes, cb) {
|
||||||
|
Loading…
Reference in New Issue
Block a user