Added whitelist for Ashton9191

This commit is contained in:
Billy S 2018-12-15 10:17:40 -05:00 committed by GitHub
parent 7f5d940c4a
commit 6130bbe487
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
minetest.register_on_prejoinplayer(function(name, ip)
if string.match(name, "[A-Z]%D+%d%d%d") ~= nil then
if string.match(name, "[A-Z]%D+%d%d%d") ~= nil and name ~= "Ashton9191" then
return "The format of your username is disallowed - please rejoin with a different username if your client supports it."
end
end)