diff options
author | Brandon <brandon@bremaweb.com> | 2014-05-03 22:56:20 -0500 |
---|---|---|
committer | Brandon <brandon@bremaweb.com> | 2014-05-03 22:56:20 -0500 |
commit | a0f84c3ae6bce5f287e07d4208b6eaac0cfbb17f (patch) | |
tree | 0e0a1e4cea8a688ca19eb34f300b2be94f01430d | |
parent | 0fc282313e1e4ace55f479c736d644f7ad0cba0e (diff) |
use correct function to unban player
-rw-r--r-- | protection.lua | 2 |
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 |