Merge pull request #433 from Bishbash777/stop-cancel-fix

Fix the stop cancel command
This commit is contained in:
Jimmacle
2021-02-14 14:16:01 -08:00
committed by GitHub

View File

@@ -232,7 +232,7 @@ namespace Torch.Commands
[Command("stop cancel", "Cancel a pending stop.")]
public void CancelStop()
{
if (_restartPending)
if (_stopPending)
_cancelStop = true;
else
Context.Respond("Server Stop is not pending.");