Quantcast

fix a renamed func

yaroot [10-19-10 - 09:25]
fix a renamed func
Filename
friends.lua
diff --git a/friends.lua b/friends.lua
index e386fca..a8fcd49 100644
--- a/friends.lua
+++ b/friends.lua
@@ -30,7 +30,7 @@ local function friendsFrame()
                     local hasFocus, toonName, client, realmName, faction, race, class, guild, zoneName, level, gameText, broadcastText, broadcastTime = BNGetToonInfo(toonID)
                     if(givenName and surname and toonName) then
                         if CanCooperateWithToon(toonID) then
-                            nameText = format(BATTLENET_NAME_FORMAT, givenName, surname) ..' '.. FRIENDS_WOW_NAME_COLOR_CODE .. '(' .. ns.classColorHex[class] .. toonName .. FRIENDS_WOW_NAME_COLOR_CODE .. ')'
+                            nameText = format(BATTLENET_NAME_FORMAT, givenName, surname) ..' '.. FRIENDS_WOW_NAME_COLOR_CODE .. '(' .. ns.classColor[class] .. toonName .. FRIENDS_WOW_NAME_COLOR_CODE .. ')'
                             if(zoneName == playerArea) then
                                 infoText = format('|cff00ff00%s|r', zoneName)
                             end