From 6f7c0cc7c349779748184f4acee8c4c433452d4c Mon Sep 17 00:00:00 2001 From: Xruptor Date: Tue, 4 Jan 2011 08:50:15 -0500 Subject: [PATCH] -Small update to make the short names ignore the combatlog. --- XanChat.lua | 4 ++-- XanChat.toc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/XanChat.lua b/XanChat.lua index b859ab1..1df656e 100644 --- a/XanChat.lua +++ b/XanChat.lua @@ -292,8 +292,8 @@ function eFrame:PLAYER_LOGIN() _G[n.."ButtonFrame"]:SetScript("OnShow", dummy) end - --enable/disable short channel names by hooking into AddMessage - if XCHT_DB.shortNames and not msgHooks[n] then + --enable/disable short channel names by hooking into AddMessage (ignore the combatlog) + if XCHT_DB.shortNames and f ~= COMBATLOG and not msgHooks[n] then msgHooks[n] = {} msgHooks[n].AddMessage = f.AddMessage f.AddMessage = AddMessage diff --git a/XanChat.toc b/XanChat.toc index e80f463..c943cb3 100644 --- a/XanChat.toc +++ b/XanChat.toc @@ -2,7 +2,7 @@ ## Title: xanChat ## Notes: A very minimalistic chat modification addon. ## Author: Xruptor -## Version: 2.0 +## Version: 2.1 ## SavedVariables: XCHT_DB xanChat.lua -- 1.7.9.5