1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00

Fix whois sending LuaPlayer instead of name

This commit is contained in:
Matthew Heguy 2019-02-12 15:30:31 -05:00
parent fe3a67e682
commit 09152104a2

View File

@ -242,7 +242,7 @@ local function print_player_info(args, player)
'Name: ' .. name,
target.connected and 'Online: yes' or 'Online: no',
'Index: ' .. target.index,
'Rank: ' .. Rank.get_player_rank_name(target),
'Rank: ' .. Rank.get_player_rank_name(name),
Donator.is_donator(target.name) and 'Donator: yes' or 'Donator: no',
'Time played: ' .. Utils.format_time(target.online_time),
'AFK time: ' .. Utils.format_time(target.afk_time or 0),