mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
fix: Return false when unable to add console command
This commit is contained in:
parent
f818653298
commit
fb267465ce
1 changed files with 3 additions and 1 deletions
|
|
@ -138,8 +138,10 @@ namespace ICD.Common.Utils
|
|||
return false;
|
||||
|
||||
CrestronConsole.AddNewConsoleCommand(str => callback(str), command, help, (ConsoleAccessLevelEnum)(int)accessLevel);
|
||||
#endif
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue