From a0f84c3ae6bce5f287e07d4208b6eaac0cfbb17f Mon Sep 17 00:00:00 2001 From: Brandon Date: Sat, 3 May 2014 22:56:20 -0500 Subject: use correct function to unban player --- protection.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protection.lua') 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 -- cgit v1.2.3