Fix for allowing login for exemption usernames

This commit is contained in:
Alvarion 2015-09-23 13:50:42 +02:00
parent 7004761af6
commit 1134a5ee92

View File

@ -34,6 +34,9 @@ local disallowed = {
}
minetest.register_on_prejoinplayer(function(name, ip)
if exemptions[name] then return end
-- Check for disallowed and unexemptioned names
local lname = name:lower()
for re, reason in pairs(disallowed) do
if lname:find(re) then