You really should use your booleans right! sm_cancelvote fixed...

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401284
This commit is contained in:
Michael McKoy 2007-08-08 21:46:44 +00:00
parent acfd5204d9
commit 6b18b901ae

View File

@ -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;