From bb48c55a32d00f651e7a7bca7c305aa9e1c4319a Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 20 Apr 2015 01:09:56 +0400 Subject: [PATCH] Using new global shit in chat --- ElvUI_SLE/modules/chat.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElvUI_SLE/modules/chat.lua b/ElvUI_SLE/modules/chat.lua index 1720c90..5ce156d 100644 --- a/ElvUI_SLE/modules/chat.lua +++ b/ElvUI_SLE/modules/chat.lua @@ -284,7 +284,7 @@ function CH:CheckLFGRoles() local role = UnitGroupRolesAssigned("player") if(role) then - lfgRoles[PLAYER_NAME] = rolePaths[role] + lfgRoles[PLAYER_NAME] = "|T"..SLE.rolePaths[E.db.sle.roleicons][role]..":15:15:0:0:64:64:2:56:2:56|t" end for i=1, GetNumGroupMembers() do @@ -294,7 +294,7 @@ function CH:CheckLFGRoles() if(role and name) then name = (realm and realm ~= '') and name..'-'..realm or name ..'-'..PLAYER_REALM; - lfgRoles[name] = rolePaths[role] + lfgRoles[name] = role ~= "NONE" and "|T"..SLE.rolePaths[E.db.sle.roleicons][role]..":15:15:0:0:64:64:2:56:2:56|t" or nil end end end -- 1.7.9.5