if WIM and WIM.modules and WIM.modules["ChannelChat"] then
WIM.modules["ChannelChat"]:CHAT_MSG_CHANNEL(
(sender and "|Hplayer:"..sender..(counter and ":"..counter or "").."|h["..(color and "|cff"..color or "")..sender..(color and "|r" or "").."]|h: " or "")..msg,
"*", --"LFW"..(forwarder and ":"..forwarder or ""),
"",
"",
"*",
"",
26,
lfwChNumber,
L["LFG Channel"],
0,
counter or fake_counter,
"");
end
--[[
--this is used to avoid unseeing a multi-channel-casting message, because it is first passed in a frame that you are not watch, and then filtered in the frames you are watching.
--and this cause problems with WIM, so now is deleted.
if channelName~=LFW_CHANNEL_NAME then --only get here when show = true.
local channelLength = strlen(arg4);
local found = 0;
for index, value in pairs(self.channelList or {}) do
if ( channelLength > strlen(value) ) then
-- arg9 is the channel name without the number in front...
if ( ((arg7 > 0) and (self.zoneChannelList[index] == arg7)) or (strupper(value) == strupper(arg9)) ) then
found = 1;
info = ChatTypeInfo["CHANNEL"..arg8];
break;
end
end
end
if ( (found == 0) or not info ) then
return true;
end
end
]]