Skip to content

Commit

Permalink
Remove reference to deprecated privilege
Browse files Browse the repository at this point in the history
  • Loading branch information
davisonio authored and est31 committed Jun 14, 2015
1 parent ee38bcd commit ecdfbfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/game/chatcommands.lua
Expand Up @@ -189,7 +189,7 @@ core.register_chatcommand("revoke", {
local revoke_privs = core.string_to_privs(revoke_priv_str)
local privs = core.get_player_privs(revoke_name)
for priv, _ in pairs(revoke_privs) do
if priv ~= "interact" and priv ~= "shout" and priv ~= "interact_extra" and
if priv ~= "interact" and priv ~= "shout" and
not core.check_player_privs(name, {privs=true}) then
return false, "Your privileges are insufficient."
end
Expand Down

0 comments on commit ecdfbfc

Please sign in to comment.