fix display response

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2023-11-12 19:23:26 +00:00
parent 08d5aef9c9
commit ed56213d1b

View File

@ -4876,7 +4876,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
} }
case 'display': { case 'display': {
if (args['_'].length != 1) { if (args['_'].length != 1) {
response = 'Proper usage: display (sleep | awake)".'; response = 'Proper usage: display (sleep | awake)';
} else { } else {
var sleepawake = [args['_'][0]]; var sleepawake = [args['_'][0]];
if(sleepawake=='sleep'){ if(sleepawake=='sleep'){