If someone could take a brief look at this I'd greatly appreciate it. The addon used to work 100% fine, but I went away for a few patches and of course it's broken now... and I have no idea what Blizzard changed. :P
Full addon:
<snip>
Lua:
http://pastebin.com/YZdQnHzG
Error message:
Code:
Message: ...ace\AddOns\SpellNotifications\SpellNotifications.lua:128: bad argument #1 to 'band' (number expected, got string)
Time: 12/28/11 03:32:33
Count: 10
Stack: [C]: in function `band'
...ace\AddOns\SpellNotifications\SpellNotifications.lua:128: in function `SpellNotifications_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>
Locals: (*temporary) = "Bakedchops"
(*temporary) = 1
(*temporary) = "number expected, got string"
I seem to get error messages related to "destFlags" -- I tried changing the "destFlags" value to simply "9" (as a friend suggested), which removed the error messages but the addon is still not functioning otherwise.
Thanks for your time!