Merge pull request #151 from Cyberboss/RevisionDerision

Adds compatibility for zbot to chat commands
This commit is contained in:
Jordan Brown
2017-09-06 15:53:59 -04:00
committed by GitHub
+2 -2
View File
@@ -82,7 +82,7 @@ namespace TGServerService
}
protected override ExitCode Run(IList<string> parameters)
{
OutputProc(Instance.GetHead(out string error) ?? error);
OutputProc(String.Format("^{0}", Instance.GetHead(out string error)) ?? error);
return error == null ? ExitCode.Normal : ExitCode.ServerError;
}
@@ -173,7 +173,7 @@ namespace TGServerService
{
res = "";
foreach (var I in PRs)
res += I.Number + " ";
res += "#" + I.Number + " ";
OutputProc(res);
}
return ExitCode.Normal;