mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 15:07:03 +01:00
Merge pull request #151 from Cyberboss/RevisionDerision
Adds compatibility for zbot to chat commands
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user