Quantcast

-Fixed BagSync Versioning issue.

Xruptor [06-14-10 - 22:00]
-Fixed BagSync Versioning issue.
Filename
BagSync.lua
diff --git a/BagSync.lua b/BagSync.lua
index 0bc7ff4..34163a0 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -53,7 +53,7 @@ function BagSync:PLAYER_LOGIN()
 	 BINDING_NAME_BAGSYNCTOGGLETOKENS = BAGSYNC_BINDING_TOKEN
 	 BINDING_NAME_BAGSYNCTOGGLEPROFILES = BAGSYNC_BINDING_PROFILES

-	local ver = tonumber(GetAddOnMetadata("BagSync","Version")) or 0
+	local ver = GetAddOnMetadata("BagSync","Version") or 0

 	--initiate the db
 	self:StartupDB()