UDPATE: Nevermind, I'm an idiot... it seems SendChatMessage can only be triggered by a hardware event, not by an addon, thus the error. I'll have to find another way for my addon to talk to other versions of it out there...
---------------
I'm trying to join a channel programmatically through an addon using the following logic:
Code:
JoinChannelByName("mychannel", nil, ChatFrame1:GetID(), false)
however, this seems to join the channel in a way that I cannot actually send or receive anything from/to it:
Code:
local id = GetChannelName("mychannel")
SendChatMessage("testmsg", "CHANNEL", "COMMON", id)
seems to fail:
Code:
Interface action failed because of an AddOn
Which points to a taint issue, but nothing is showing up in the taint.log (using level 1).
I'm confused... how can SendChatMessage raise a taint?
What am I missing?