Skip to content

Commit

Permalink
Fix tostring for secondary accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
solocommand committed Nov 21, 2020
1 parent d70418f commit 6a958e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ function addon:renderBattleNet(tooltip, friends, isBnetClient, collapseVar)
if toon.realmName ~= playerRealmName or toon.faction ~= playerFactionGroup then
cooperateLabel = _G.CANNOT_COOPERATE_LABEL
end
left = _G.FRIENDS_TOOLTIP_WOW_TOON_TEMPLATE:format(toString(toon.name)..cooperateLabel, toString(toon.level), tostring(toon.race), tostring(toon.class))
left = _G.FRIENDS_TOOLTIP_WOW_TOON_TEMPLATE:format(tostring(toon.name)..cooperateLabel, tostring(toon.level), tostring(toon.race), tostring(toon.class))
else
left = toon.name
end
Expand Down

0 comments on commit 6a958e5

Please sign in to comment.