forked from MineClone5/MineClone5
Update Fork #9
|
@ -26,8 +26,7 @@ local function ban(name)
|
||||||
if revoke_shout_for_spammers then
|
if revoke_shout_for_spammers then
|
||||||
local privs = minetest.get_player_privs(name)
|
local privs = minetest.get_player_privs(name)
|
||||||
if privs then
|
if privs then
|
||||||
privs.shoud = nil
|
privs.shout = nil
|
||||||
privs.noclip = true
|
|
||||||
minetest.set_player_privs(name, privs)
|
minetest.set_player_privs(name, privs)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue