bug when Recount is missing
Sidoine De Wispelaere [11-07-09 - 13:23]
bug when Recount is missing
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@128 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleRecount.lua b/OvaleRecount.lua
index 1dc431b..8c36054 100644
--- a/OvaleRecount.lua
+++ b/OvaleRecount.lua
@@ -1,5 +1,8 @@
local Recount = Recount
-local RL = LibStub("AceLocale-3.0"):GetLocale("Recount")
+local RL
+if Recount then
+ RL = LibStub("AceLocale-3.0"):GetLocale("Recount")
+end
local function DataModes(self,data, num)
if not data then return 0, 0 end