From b1a25931c51a9076dd6b0c707235ffacd3f3c495 Mon Sep 17 00:00:00 2001 From: Xruptor Date: Tue, 1 Nov 2011 08:49:24 -0400 Subject: [PATCH] -minor update --- XanReputation.lua | 6 +++--- XanReputation.toc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/XanReputation.lua b/XanReputation.lua index 6c5c6d4..ac97c45 100644 --- a/XanReputation.lua +++ b/XanReputation.lua @@ -33,14 +33,14 @@ function f:PLAYER_LOGIN() self:CreateREP_Frame() self:RestoreLayout("xanReputation") - self:UnregisterEvent("PLAYER_LOGIN") - self.PLAYER_LOGIN = nil - SLASH_XANREPUTATION1 = "/xanrep"; SlashCmdList["XANREPUTATION"] = xanReputation_SlashCommand; local ver = GetAddOnMetadata("xanReputation","Version") or '1.0' DEFAULT_CHAT_FRAME:AddMessage(string.format("|cFF99CC33%s|r [v|cFFDF2B2B%s|r] loaded: /xanrep", "xanReputation", ver or "1.0")) + + self:UnregisterEvent("PLAYER_LOGIN") + self.PLAYER_LOGIN = nil end function xanReputation_SlashCommand(cmd) diff --git a/XanReputation.toc b/XanReputation.toc index 1651c33..8d7c4eb 100644 --- a/XanReputation.toc +++ b/XanReputation.toc @@ -2,7 +2,7 @@ ## Title: xanReputation ## Notes: A small window display current reputation xp ## Author: Xruptor -## Version: 1.9 +## Version: 1.9.1 ## SavedVariablesPerCharacter: XanREP_DB libs\LibStub.lua -- 1.7.9.5