Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fix: account type char should be a str
Browse files Browse the repository at this point in the history
  • Loading branch information
paralin committed Jan 30, 2018
1 parent 60c03ca commit bc9aa9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions steamid/steamid.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ func (s SteamId) ToSteam3() string {
}

if renderInstance {
return fmt.Sprintf("[%v:%d:%d:%d]", accTypeChr, s.GetAccountUniverse(), s.GetAccountId(), accInstance)
return fmt.Sprintf("[%s:%d:%d:%d]", string(accTypeChr), s.GetAccountUniverse(), s.GetAccountId(), accInstance)
}

return fmt.Sprintf("[%v:%d:%d]", accTypeChr, s.GetAccountUniverse(), s.GetAccountId())
return fmt.Sprintf("[%s:%d:%d]", string(accTypeChr), s.GetAccountUniverse(), s.GetAccountId())
}

0 comments on commit bc9aa9c

Please sign in to comment.