From 944a9d94e5b04084cd53ca9c1f27ca1e50214f81 Mon Sep 17 00:00:00 2001 From: Xruptor Date: Tue, 1 Nov 2011 08:50:15 -0400 Subject: [PATCH] -minor update --- XanDurability.lua | 6 +++--- XanDurability.toc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/XanDurability.lua b/XanDurability.lua index 94a909a..ca10e00 100644 --- a/XanDurability.lua +++ b/XanDurability.lua @@ -39,15 +39,15 @@ function f:PLAYER_LOGIN() self:RegisterEvent("PLAYER_REGEN_ENABLED") self:RegisterEvent("UPDATE_INVENTORY_DURABILITY") - - self:UnregisterEvent("PLAYER_LOGIN") - self.PLAYER_LOGIN = nil SLASH_XANDURABILITY1 = "/xdu"; SlashCmdList["XANDURABILITY"] = xanDurability_SlashCommand; local ver = GetAddOnMetadata("xanDurability","Version") or '1.0' DEFAULT_CHAT_FRAME:AddMessage(string.format("|cFF99CC33%s|r [v|cFFDF2B2B%s|r] Loaded", "xanDurability", ver or "1.0")) + + self:UnregisterEvent("PLAYER_LOGIN") + self.PLAYER_LOGIN = nil end function xanDurability_SlashCommand(cmd) diff --git a/XanDurability.toc b/XanDurability.toc index 58c7c45..3e6fe2f 100644 --- a/XanDurability.toc +++ b/XanDurability.toc @@ -2,7 +2,7 @@ ## Title: xanDurability ## Notes: A small window that displays the total current armour durability. ## Author: Xruptor -## Version: 2.3 +## Version: 2.3.1 ## SavedVariablesPerCharacter: XanDUR_DB xanDurability.lua -- 1.7.9.5