From fb267465cece3c7a42d7c802ff3f0c5e2f7c0499 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Tue, 12 Jun 2018 14:50:02 -0400 Subject: [PATCH] fix: Return false when unable to add console command --- ICD.Common.Utils/IcdConsole.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ICD.Common.Utils/IcdConsole.cs b/ICD.Common.Utils/IcdConsole.cs index d9ebbf7..8438c3b 100644 --- a/ICD.Common.Utils/IcdConsole.cs +++ b/ICD.Common.Utils/IcdConsole.cs @@ -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 } } }