From bc60aec423bb4f9d3c6862380701762824c33607 Mon Sep 17 00:00:00 2001 From: yaroot Date: Tue, 19 Oct 2010 23:13:28 +0800 Subject: [PATCH] rename func fix again --- core.lua | 1 - guild.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 1.7.9.5