Quantcast

rename func fix again

yaroot [10-19-10 - 15:13]
rename func fix again
Filename
core.lua
guild.lua
diff --git a/core.lua b/core.lua
index 547e435..142ff83 100644
--- a/core.lua
+++ b/core.lua
@@ -87,7 +87,6 @@ ns.classColor = setmetatable({}, {

 if CUSTOM_CLASS_COLORS then
 	local function callBack()
-		wipe(classColorHex)
 		wipe(classColor)
 	end
 	CUSTOM_CLASS_COLORS:RegisterCallback(callBack)
diff --git a/guild.lua b/guild.lua
index c354f98..5b95f17 100644
--- a/guild.lua
+++ b/guild.lua
@@ -47,7 +47,7 @@ local function tradeupdate()
         if(button:IsShown() and button.online and button.guildIndex) then
 			local skillID, isCollapsed, iconTexture, headerName, numOnline, numPlayers, playerName, class, online, zone, skill, classFileName = GetGuildTradeSkillInfo(button.guildIndex)
             if(not headerName) then
-                button.string1:SetText(ns.classColorHex[classFileName] .. playerName)
+                button.string1:SetText(ns.classColor[classFileName] .. playerName)
                 if(zone == myZone) then
                     button.string2:SetText('|cff00ff00' .. zone)
                 end