View Single Post
06-30-12, 05:22 AM   #1
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 440
Have they changed how SendChatMessage works?

Currently on live
Code:
SendChatMessage(msg[random(trash)], "SAY", NIL)
works perfectly fine, but on the beta servers, I'm getting errors.

Code:
Message: Interface\AddOns\AfterKill\AfterKill.lua:29: attempt to index global 'msg' (a nil value)
Time: 06/30/12 06:05:18
Count: 1
Stack: Interface\AddOns\AfterKill\AfterKill.lua:29: in function <Interface\AddOns\AfterKill\AfterKill.lua:27>

That particular line of code is the only one that's throwing errors. I've tested with that line removed, and everything else works perfectly. I've tried looking and seeing what changed, but finding nothing. Undocumented change, or just me being noobier than usual?
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".