* Changed the metatable logic for buffs/highlight
James Whitehead II [01-25-08 - 06:54]
* Changed the metatable logic for buffs/highlight
diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua
index 6c54713..462edea 100644
--- a/PerfectRaid_Buffs.lua
+++ b/PerfectRaid_Buffs.lua
@@ -117,7 +117,7 @@ local BIT_MAGIC = 2
local BIT_POISON = 4
local BIT_DISEASE = 8
-local debuffstatus = setmetatable({}, {__index=function(t,k) rawset(t, k, 0); return 0 end})
+local debuffstatus = setmetatable({}, {__index=function(t,k) t[k] = 0; return 0 end})
local work = {}
function Buffs:UNIT_AURA(event, unit)
diff --git a/PerfectRaid_Highlight.lua b/PerfectRaid_Highlight.lua
index c6f0a6a..23596da 100644
--- a/PerfectRaid_Highlight.lua
+++ b/PerfectRaid_Highlight.lua
@@ -88,7 +88,7 @@ local BIT_MAGIC = 2
local BIT_POISON = 4
local BIT_DISEASE = 8
-local status = setmetatable({}, {__index=function(t,k) rawset(t, k, 0); return 0 end})
+local status = setmetatable({}, {__index=function(t,k) t[k] = 0; return 0 end})
function Highlight:PERFECTRAID_DEBUFFTYPE_GAINED(msg, unit, type)
if type == "Disease" then