Fix the stop cancel command
This commit is contained in:
@@ -232,7 +232,7 @@ namespace Torch.Commands
|
|||||||
[Command("stop cancel", "Cancel a pending stop.")]
|
[Command("stop cancel", "Cancel a pending stop.")]
|
||||||
public void CancelStop()
|
public void CancelStop()
|
||||||
{
|
{
|
||||||
if (_restartPending)
|
if (_stopPending)
|
||||||
_cancelStop = true;
|
_cancelStop = true;
|
||||||
else
|
else
|
||||||
Context.Respond("Server Stop is not pending.");
|
Context.Respond("Server Stop is not pending.");
|
||||||
|
Reference in New Issue
Block a user