Fix the stop cancel command

This commit is contained in:
Bishbash777
2021-02-14 14:24:43 +01:00
committed by GitHub
parent 5cc2d6652d
commit b5f53dd6c6

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.");