From 0a81229302ba5ab63d4d19cf5a81bc01698b8fec Mon Sep 17 00:00:00 2001 From: Darthpred Date: Thu, 7 Aug 2014 00:14:19 +0400 Subject: [PATCH] Tested on live. seems fine --- ElvUI_SLE/modules/chat.lua | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ElvUI_SLE/modules/chat.lua b/ElvUI_SLE/modules/chat.lua index 8e9972c..2a96dc2 100644 --- a/ElvUI_SLE/modules/chat.lua +++ b/ElvUI_SLE/modules/chat.lua @@ -216,7 +216,7 @@ local function GetChatIcon(sender) return "" end -function CH:GetPluginReplacementIcon(arg2, arg6, type)--GetIcons(arg2, arg6, type) +function CH:GetPluginReplacementIcon(arg2, arg6, type) local icon; if arg6 and (strlen(arg6) > 0) then if ( arg6 == "GM" ) then @@ -237,14 +237,9 @@ function CH:GetPluginReplacementIcon(arg2, arg6, type)--GetIcons(arg2, arg6, typ else icon = GetChatIcon(arg2) - if(icon == true) then - icon = "" - end - - if(not icon and lfgRoles[arg2] and SLE:SimpleTable(lfgChannels, type)) then + if(lfgRoles[arg2] and SLE:SimpleTable(lfgChannels, type)) then icon = lfgRoles[arg2]..icon end - icon = icon or "" end return icon, true end -- 1.7.9.5