mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Removed filtering on admin vote questions (bug 3356, r=sawce).
This commit is contained in:
parent
0f8c61c1e1
commit
adab9c93a0
@ -365,8 +365,7 @@ public cmdVote(id, level, cid)
|
||||
new quest[48]
|
||||
read_argv(1, quest, 47)
|
||||
|
||||
if ((contain(quest, "sv_password") != -1) || (contain(quest, "rcon_password") != -1) || (contain(quest, "kick") != -1) ||
|
||||
(contain(quest, "addip") != -1) || (contain(quest, "ban") != -1))
|
||||
if (contain(quest, "sv_password") != -1 || contain(quest, "rcon_password") != -1)
|
||||
{
|
||||
console_print(id, "%L", id, "VOTING_FORBIDDEN")
|
||||
return PLUGIN_HANDLED
|
||||
|
Loading…
Reference in New Issue
Block a user