From 7d8fb9cf298762ea9e571face5bf5d42cbd47a25 Mon Sep 17 00:00:00 2001 From: Repooc Date: Mon, 4 Aug 2014 02:45:37 -0400 Subject: [PATCH] MOAR Cleanup --- ElvUI_SLE/core/toolkit.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ElvUI_SLE/core/toolkit.lua b/ElvUI_SLE/core/toolkit.lua index fda27de..b55b91d 100644 --- a/ElvUI_SLE/core/toolkit.lua +++ b/ElvUI_SLE/core/toolkit.lua @@ -28,6 +28,7 @@ function SLE:ValueTable(table, item) for i, _ in pairs(table) do if i == item then return true end end + return false end @@ -37,6 +38,7 @@ function SLE:SimpleTable(table, item) return true end end + return false end @@ -61,7 +63,8 @@ local function UpdateAll() CH:GMIconUpdate() M:TextWidth() I:UpdateFrame() - + collectgarbage('collect'); end + hooksecurefunc(E, "UpdateAll", UpdateAll) \ No newline at end of file -- 1.7.9.5