Removed filtering on admin vote questions (bug 3356, r=sawce).

This commit is contained in:
David Anderson 2009-02-07 23:44:23 +00:00
parent 0f8c61c1e1
commit adab9c93a0

View File

@ -365,8 +365,7 @@ public cmdVote(id, level, cid)
new quest[48] new quest[48]
read_argv(1, quest, 47) read_argv(1, quest, 47)
if ((contain(quest, "sv_password") != -1) || (contain(quest, "rcon_password") != -1) || (contain(quest, "kick") != -1) || if (contain(quest, "sv_password") != -1 || contain(quest, "rcon_password") != -1)
(contain(quest, "addip") != -1) || (contain(quest, "ban") != -1))
{ {
console_print(id, "%L", id, "VOTING_FORBIDDEN") console_print(id, "%L", id, "VOTING_FORBIDDEN")
return PLUGIN_HANDLED return PLUGIN_HANDLED