Skip to content

Commit

Permalink
GameStats: Fix length error in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mkwcat committed Sep 17, 2024
1 parent cc36857 commit 3a55fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamestats/getpd.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (g *GameStatsSession) getpd(command common.GameSpyCommand) {
"lid": strconv.Itoa(g.LoginID),
"pid": command.OtherValues["pid"],
"mod": strconv.Itoa(int(time.Now().Unix())),
"length": strconv.Itoa(len(data)),
"length": strconv.Itoa(len(data) + 1),
"data": `\` + data + `\`,
},
})
Expand Down

0 comments on commit 3a55fdd

Please sign in to comment.