Remove reference to deprecated privilege
authorCraig Davison <craig.davison3@gmail.com>
Sun, 14 Jun 2015 20:28:51 +0000 (21:28 +0100)
committerest31 <MTest31@outlook.com>
Sun, 14 Jun 2015 21:53:30 +0000 (23:53 +0200)
builtin/game/chatcommands.lua

index d5d9c3d259600b5b2995d2880602fe17d1f3663e..d656f1c9172029b5fa0b3ef0f39bc7840ce708d4 100644 (file)
@@ -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