Update mods/other/disallowed_names/init.lua
Co-authored-by: Avyukt More <65779812+moreavy@users.noreply.github.com>
This commit is contained in:
parent
5abb26cb28
commit
c35bd98e34
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ disallowed_names=minetest.deserialize(storage:get_string("disallowed_names")) or
|
|||
minetest.register_on_prejoinplayer(function(name)
|
||||
for k,v in pairs(disallowed_names) do
|
||||
if string.find(string.lower(name),string.lower(v)) then
|
||||
return "Your cannot use that username in this server, please change it and come back."
|
||||
return "Your cannot use that username in this server. Please login with another username."
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue