Unmerged 'last online' so need to rethink that

master
Ciaran Gultnieks 2014-11-04 22:50:59 +00:00
parent 50c7e295bf
commit 6e4328bcc4
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ people.is_valid_name = function(name)
-- Characters must be valid
if not name:match("^[A-Za-z0-9%_%-]+$") then return false end
-- Can't be the name of a player
if minetest.get_player_last_online(name) then return false end
-- TODO - re-merge get_player_last_online or find another way
-- of doing this!
-- if minetest.get_player_last_online(name) then return false end
return true
end