Originally Posted by
Kryso
Just a little theory (I did no research, and its probably all wrong):
I don't think its actually neccessary to call it from "main thread". I think everything including all lua scripts is by default called from main thread - so it's completely useless for wow to check what thread calls functions (except disabling calls with CreateRemoteThread). I think there are 2 states: one where you can call everything, and second (enabled when processing user lua scripts) where you can call only something. So when you call your DoString when state 1 is active, you are fine, however when you call it when state 2 is active, you get taint message.
Sorry if this is completely wrong :-)