From bb2e5464e0eb5b1dd29e19a578b8b1d688d0a8e7 Mon Sep 17 00:00:00 2001 From: robin Date: Tue, 15 Jun 2021 18:39:26 +0200 Subject: [PATCH] Fix modul currency disable function --- module_currency.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_currency.lua b/module_currency.lua index afbc245..728ebf8 100644 --- a/module_currency.lua +++ b/module_currency.lua @@ -201,7 +201,7 @@ end function modul:Disable() self.status = false for event, func in pairs(events) do - if(not child:IsClassic() or (child:IsClassic() and not skipClassic[event])) then + if(not skip[WOW_PROJECT_ID] or not skip[WOW_PROJECT_ID][event]) then self.frame:UnregisterEvent(event) end end