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
|
||||
local privs = minetest.get_player_privs(name)
|
||||
if privs then
|
||||
privs.shoud = nil
|
||||
privs.noclip = true
|
||||
privs.shout = nil
|
||||
minetest.set_player_privs(name, privs)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue