Add support for PreUpdate callback
Adrian L Lange [10-27-14 - 14:09]
Add support for PreUpdate callback
diff --git a/oUF_Reputation.lua b/oUF_Reputation.lua
index eb213b6..69c5068 100644
--- a/oUF_Reputation.lua
+++ b/oUF_Reputation.lua
@@ -42,6 +42,7 @@ local function Update(self, event, unit)
if(self.unit ~= unit) then return end
local element = self.Reputation
+ if(element.PreUpdate) then element:PreUpdate(unit) end
local name, standingID, _, _, _, id = GetWatchedFactionInfo()
if(not name) then