From b5f53dd6c6b7c662d04dac31a2bcbd6ce126e96f Mon Sep 17 00:00:00 2001 From: Bishbash777 <50243964+Bishbash777@users.noreply.github.com> Date: Sun, 14 Feb 2021 14:24:43 +0100 Subject: [PATCH] Fix the stop cancel command --- Torch/Commands/TorchCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Torch/Commands/TorchCommands.cs b/Torch/Commands/TorchCommands.cs index 4b4de2b..0497f80 100644 --- a/Torch/Commands/TorchCommands.cs +++ b/Torch/Commands/TorchCommands.cs @@ -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.");