From 6b18b901ae30fa664a22f6d59d9590e8789c5cc2 Mon Sep 17 00:00:00 2001 From: Michael McKoy Date: Wed, 8 Aug 2007 21:46:44 +0000 Subject: [PATCH] You really should use your booleans right! sm_cancelvote fixed... --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401284 --- plugins/basecommands.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/basecommands.sp b/plugins/basecommands.sp index 3f335bcf..de1b150d 100644 --- a/plugins/basecommands.sp +++ b/plugins/basecommands.sp @@ -605,7 +605,7 @@ public Action:Command_Kick(client, args) public Action:Command_CancelVote(client, args) { - if (IsVoteInProgress()) + if (!IsVoteInProgress()) { ReplyToCommand(client, "[SM] %t", "Vote Not In Progress"); return Plugin_Handled;