From bc9aa9c145c62dcfa98c306f750b2a74dc92ab7f Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Tue, 30 Jan 2018 00:22:11 -0500 Subject: [PATCH] fix: account type char should be a str --- steamid/steamid.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/steamid/steamid.go b/steamid/steamid.go index 2f6925ab..bb1c9ce3 100644 --- a/steamid/steamid.go +++ b/steamid/steamid.go @@ -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()) }