From bb853a5bae12b3a8cf7e5e9b99cfdd0f8cfffdda Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Tue, 3 Oct 2017 14:58:36 -0400 Subject: [PATCH] Fixes custom commands success return typo --- TGServerService/ChatCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TGServerService/ChatCommands.cs b/TGServerService/ChatCommands.cs index 6eb1c0ca3a..a5401130f6 100644 --- a/TGServerService/ChatCommands.cs +++ b/TGServerService/ChatCommands.cs @@ -56,7 +56,7 @@ namespace TGServerService protected override ExitCode Run(IList parameters) { var res = Instance.SendCommand(String.Format("{0};sender={1};custom={2}", Keyword, CommandInfo.Value.Speaker, String.Join(" ", parameters))); - if (res != "SUCESS" && !String.IsNullOrWhiteSpace(res)) + if (res != "SUCCESS" && !String.IsNullOrWhiteSpace(res)) OutputProc(res); return ExitCode.Normal; }