only block new registrations

master
ChaosWormz 2016-10-10 11:28:57 +03:00 committed by Vanessa Ezekowitz
parent 50348f52fa
commit 387d52bc8a
1 changed files with 1 additions and 1 deletions

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