From 211ab2d6c1b4c5f5efa33d19addd402a107c7ece Mon Sep 17 00:00:00 2001 From: Xruptor Date: Fri, 19 Nov 2010 08:43:19 -0500 Subject: [PATCH] -A slight fix for the class colors. Ooops :P --- XanChat.lua | 9 +++++---- XanChat.toc | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/XanChat.lua b/XanChat.lua index a4c3b7d..140f3d9 100644 --- a/XanChat.lua +++ b/XanChat.lua @@ -12,10 +12,6 @@ local StickyTypeChannels = { CHANNEL = 1, }; -for i,v in pairs(CHAT_CONFIG_CHAT_LEFT) do - ToggleChatColorNamesByClassGroup(true, v.type) -end - local function scrollChat(frame, delta) --Faster Scroll if IsControlKeyDown() then @@ -48,6 +44,11 @@ function XanChat_doChat() for k, v in pairs(StickyTypeChannels) do ChatTypeInfo[k].sticky = v; end + + --toggle class colors + for i,v in pairs(CHAT_CONFIG_CHAT_LEFT) do + ToggleChatColorNamesByClassGroup(true, v.type) + end for i = 1, NUM_CHAT_WINDOWS do local f = _G[("ChatFrame%d"):format(i)] diff --git a/XanChat.toc b/XanChat.toc index b0c7b13..2fca8ba 100644 --- a/XanChat.toc +++ b/XanChat.toc @@ -2,6 +2,6 @@ ## Title: XanChat ## Notes: A very minimalistic chat modification addon. ## Author: Xruptor -## Version: 1.0 +## Version: 1.1 XanChat.lua -- 1.7.9.5