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