only block new registrations

This commit is contained in:
ChaosWormz 2016-10-10 11:28:57 +03:00
parent f05b4e1a91
commit 9d7994d27d

View File

@ -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