-minor update
Xruptor [11-01-11 - 12:49]
diff --git a/XanEXP.lua b/XanEXP.lua
index 9bab593..3ae1799 100644
--- a/XanEXP.lua
+++ b/XanEXP.lua
@@ -34,14 +34,14 @@ function f:PLAYER_LOGIN()
self:PLAYER_XP_UPDATE()
- self:UnregisterEvent("PLAYER_LOGIN")
- self.PLAYER_LOGIN = nil
-
SLASH_XANEXP1 = "/xanexp";
SlashCmdList["XANEXP"] = xanEXP_SlashCommand;
local ver = GetAddOnMetadata("xanEXP","Version") or '1.0'
DEFAULT_CHAT_FRAME:AddMessage(string.format("|cFF99CC33%s|r [v|cFFDF2B2B%s|r] loaded: /xanexp", "xanEXP", ver or "1.0"))
+
+ self:UnregisterEvent("PLAYER_LOGIN")
+ self.PLAYER_LOGIN = nil
end
function xanEXP_SlashCommand(cmd)
diff --git a/XanEXP.toc b/XanEXP.toc
index e67a800..cb21733 100644
--- a/XanEXP.toc
+++ b/XanEXP.toc
@@ -2,7 +2,7 @@
## Title: xanEXP
## Notes: A small window display current xp and other xp information
## Author: Xruptor
-## Version: 2.0
+## Version: 2.0.1
## SavedVariablesPerCharacter: XanEXP_DB
xanEXP.lua