Use the correct ApplyConfig when enabling a module

This commit is contained in:
Hendrik Leppkes
2008-11-11 16:32:16 +01:00
parent 4189110e24
commit 7c2610ccb2
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ function RepBarMod:OnEnable()
end
self.bar:Enable()
self:ToggleOptions()
self.bar:ApplyConfig(self.db.profile)
self:ApplyConfig()
end
function RepBarMod:ApplyConfig()
@@ -80,7 +80,7 @@ function XPBarMod:OnEnable()
end
self.bar:Enable()
self:ToggleOptions()
self.bar:ApplyConfig(self.db.profile)
self:ApplyConfig()
end
XPBarMod.ApplyConfig = RepBarMod.ApplyConfig