Quantcast

Wrap in function to prevent bugs

p3lim [10-14-10 - 17:52]
Wrap in function to prevent bugs
Filename
oUF_Reputation.lua
diff --git a/oUF_Reputation.lua b/oUF_Reputation.lua
index 2769170..b5d1f2e 100644
--- a/oUF_Reputation.lua
+++ b/oUF_Reputation.lua
@@ -19,7 +19,9 @@ for tag, func in pairs({
 		local _, standing = GetWatchedFactionInfo()
 		return standing
 	end,
-	['reputation'] = GetWatchedFactionInfo
+	['reputation'] = function()
+		return GetWatchedFactionInfo()
+	end,
 }) do
 	oUF.Tags[tag] = func
 	oUF.TagEvents[tag] = 'UPDATE_FACTION'