From 724a19386b0e6d151e1e7ac4b60ba0b2e094f9ac Mon Sep 17 00:00:00 2001 From: Xruptor Date: Sat, 25 Oct 2014 09:49:13 -0500 Subject: [PATCH] -added a addon loaded message -Toc Update for 6.0 --- XanChat.lua | 3 +++ XanChat.toc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/XanChat.lua b/XanChat.lua index 181dd35..1e62d9d 100644 --- a/XanChat.lua +++ b/XanChat.lua @@ -554,6 +554,9 @@ function eFrame:PLAYER_LOGIN() DEFAULT_CHAT_FRAME:AddMessage("/xanchat tabs - toggles the chat tabs on or off") end + local ver = GetAddOnMetadata("xanChat","Version") or '1.0' + DEFAULT_CHAT_FRAME:AddMessage(string.format("|cFF99CC33%s|r [v|cFFDF2B2B%s|r] Loaded", "xanChat", ver or "1.0")) + eFrame:UnregisterEvent("PLAYER_LOGIN") eFrame.PLAYER_LOGIN = nil end diff --git a/XanChat.toc b/XanChat.toc index 6d350bc..7837f81 100644 --- a/XanChat.toc +++ b/XanChat.toc @@ -1,8 +1,8 @@ -## Interface: 50200 +## Interface: 60000 ## Title: xanChat ## Notes: A very minimalistic chat modification addon. ## Author: Xruptor -## Version: 3.8 +## Version: 3.9 ## SavedVariables: XCHT_DB xanChat.lua -- 1.7.9.5