From 95d8ddf15872d3f6e51017b4be02410004077e38 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Thu, 3 Oct 2013 10:32:05 +0400 Subject: [PATCH] Damn that chat shit --- ElvUI_SLE/modules/chat/chat.lua | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ElvUI_SLE/modules/chat/chat.lua b/ElvUI_SLE/modules/chat/chat.lua index f60a458..8b4c263 100755 --- a/ElvUI_SLE/modules/chat/chat.lua +++ b/ElvUI_SLE/modules/chat/chat.lua @@ -317,6 +317,7 @@ function CH:PositionChat(override) end local function SLEfilter(self, event, message, author, arg3, arg4, arg5, arg6, ...) local returnTex = arg6 + if returnTex == nil then returnTex = "" end local type = strsub(event, 10); if(strlen(arg6) > 0) then return false, message, author, arg3, arg4, arg5, returnTex, ... @@ -326,17 +327,13 @@ local function SLEfilter(self, event, message, author, arg3, arg4, arg5, arg6, . else returnTex = SLE:CheckFlag(author) end + return false, message, author, arg3, arg4, arg5, returnTex, ... elseif not SLE:CheckFlag(author) then if(returnTex == "" and lfgRoles[author] and SLE:SimpleTable(lfgChannels, type)) then returnTex = lfgRoles[author] end + return false, message, author, arg3, arg4, arg5, returnTex, ... end - if returnTex == nil then - returnTex = arg6 - else - returnTex = returnTex..arg6 - end - return false, message, author, arg3, arg4, arg5, returnTex, ... end --Applying filter -- 1.7.9.5