corrected CHAT_MSG_ADDON
Sidoine De Wispelaere [11-20-09 - 20:36]
corrected CHAT_MSG_ADDON
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@132 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/Ovale.lua b/Ovale.lua
index 467457b..1c8c4cb 100644
--- a/Ovale.lua
+++ b/Ovale.lua
@@ -535,7 +535,7 @@ function Ovale:UNIT_SPELLCAST_SENT(event,unit,name,rank,target)
end
end
-function Ovale:CHAT_MSG_ADDON(prefix, msg, type, author)
+function Ovale:CHAT_MSG_ADDON(event, prefix, msg, type, author)
if prefix ~= "Ovale" then return end
if type ~= "RAID" and type~= "PARTY" then return end