Quantcast
WoWInterface - View Single Post - Code optimization and issue with hyperlinks in chat
View Single Post
10-15-18, 01:50 AM   #7
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,739
Thanks. Yes replacing the default AddMessage and SetItemRef is bad since it can cause taint issues. Though I got no taints related to rChat yet.
If you have a working AddMessage and SetItemRef alternative that would be great.

Some code in the link is using
Lua Code:
  1. ChatFrame_AddMessageEventFilter('CHAT_MSG_CHANNEL', function() return true end)
Not sure if that makes sense when you can just remove the filter with
Lua Code:
  1. ChatFrame_RemoveMessageEventFilter (event, filter)
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote