Fixes custom commands success return typo

This commit is contained in:
Cyberboss
2017-10-03 14:58:36 -04:00
parent 7807e7937c
commit bb853a5bae
+1 -1
View File
@@ -56,7 +56,7 @@ namespace TGServerService
protected override ExitCode Run(IList<string> 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;
}