GPCM: Add game_name to profile_created event

This commit is contained in:
Palapeli 2026-04-05 14:08:44 -04:00
parent 5963f0efc3
commit 916a3193aa
No known key found for this signature in database
GPG Key ID: 1FFE8F556A474925

View File

@ -312,6 +312,7 @@ func (g *GameSpySession) login(command common.GameSpyCommand) {
map[string]any{
"user_id": g.User.UserId,
"profile_id": g.User.ProfileId,
"game_name": g.GameName,
"ip_address": g.RemoteAddr,
},
)
@ -397,12 +398,9 @@ func (g *GameSpySession) login(command common.GameSpyCommand) {
logging.Event(
"logged_in",
map[string]any{
"user_id": g.User.UserId,
"profile_id": g.User.ProfileId,
"game_name": g.GameName,
"wii_number": g.ConsoleFriendCode,
"in_game_name": g.InGameName,
"unit_code": g.UnitCode,
"ip_address": g.RemoteAddr,
},
)