forked from MineClone5/MineClone5
Fix mcl_antispam
This commit is contained in:
parent
6be3d2e0d4
commit
44d8caf3b7
|
@ -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