summaryrefslogtreecommitdiff
path: root/protection.lua
diff options
context:
space:
mode:
Diffstat (limited to 'protection.lua')
-rw-r--r--protection.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/protection.lua b/protection.lua
index 5adcd7e..e3ce8d2 100644
--- a/protection.lua
+++ b/protection.lua
@@ -90,7 +90,7 @@ function landrush.do_autoban(pos,name)
landrush.offense[name].lastpos = nil
if ( landrush.offense[name].bancount < 4 ) then
- minetest.after( (banlength * 60), minetest.unban_name_or_ip,name )
+ minetest.after( (banlength * 60), minetest.unban_player_or_ip,name )
end
return