From 9d7994d27df60c03e597f5320dda8d1570c1ed12 Mon Sep 17 00:00:00 2001 From: ChaosWormz Date: Mon, 10 Oct 2016 11:28:57 +0300 Subject: [PATCH] only block new registrations --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index bf87da7..b9633ef 100644 --- a/init.lua +++ b/init.lua @@ -56,7 +56,7 @@ end minetest.register_on_prejoinplayer(function(name, ip) local lname = name:lower() for re, reason in pairs(disallowed) do - if lname:find(re) then + if lname:find(re) and not minetest.auth_table[name] then return reason end end