projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee38bcd
)
Remove reference to deprecated privilege
author
Craig Davison
<craig.davison3@gmail.com>
Sun, 14 Jun 2015 20:28:51 +0000
(21:28 +0100)
committer
est31
<MTest31@outlook.com>
Sun, 14 Jun 2015 21:53:30 +0000
(23:53 +0200)
builtin/game/chatcommands.lua
patch
|
blob
|
history
diff --git
a/builtin/game/chatcommands.lua
b/builtin/game/chatcommands.lua
index d5d9c3d259600b5b2995d2880602fe17d1f3663e..d656f1c9172029b5fa0b3ef0f39bc7840ce708d4 100644
(file)
--- a/
builtin/game/chatcommands.lua
+++ b/
builtin/game/chatcommands.lua
@@
-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