Quantcast

-small position check fix

Xruptor [01-17-11 - 17:16]
-small position check fix
Filename
XanReputation.lua
diff --git a/XanReputation.lua b/XanReputation.lua
index c2e79de..6c5c6d4 100644
--- a/XanReputation.lua
+++ b/XanReputation.lua
@@ -19,7 +19,12 @@ function f:PLAYER_LOGIN()
 	if XanREP_DB.bgShown == nil then XanREP_DB.bgShown = true end
 	if XanREP_DB.scale == nil then XanREP_DB.scale = 1 end
 	if XanREP_DB.autoSwitch == nil then XanREP_DB.autoSwitch = true end
-
+	--check for old db
+	if XanREP_DB["XanReputation"] then
+		XanREP_DB["xanReputation"] = XanREP_DB["XanReputation"]
+		XanREP_DB["XanReputation"] = nil
+	end
+
 	self:RegisterEvent("CHAT_MSG_COMBAT_FACTION_CHANGE")
 	self:RegisterEvent("CHAT_MSG_SYSTEM")
 	self:RegisterEvent("UPDATE_FACTION")