mirror of
https://github.com/barronwaffles/dwc_network_server_emulator.git
synced 2026-10-01 06:16:49 -05:00
Return firstname in getprofile if it's set
This commit is contained in:
@@ -202,6 +202,10 @@ class PlayerSession(LineReceiver):
|
||||
msg_d.append(('sig', utils.generate_random_hex_str(32)))
|
||||
msg_d.append(('uniquenick', profile['uniquenick']))
|
||||
msg_d.append(('pid', profile['pid']))
|
||||
|
||||
if profile['firstname'] != "":
|
||||
msg_d.append(('firstname', profile['firstname'])) # Wii gets a firstname
|
||||
|
||||
msg_d.append(('lastname', profile['lastname']))
|
||||
msg_d.append(('lon', profile['lon']))
|
||||
msg_d.append(('lat', profile['lat']))
|
||||
|
||||
Reference in New Issue
Block a user