From 7776b8ef7a35232ecd940c765eb4c24ef055a43d Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 21 Feb 2014 19:54:03 +0400 Subject: [PATCH] Some rola icon fixes by Simply --- ElvUI_SLE/modules/chat/chat.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/chat/chat.lua b/ElvUI_SLE/modules/chat/chat.lua index 1c17834..ae6e361 100755 --- a/ElvUI_SLE/modules/chat/chat.lua +++ b/ElvUI_SLE/modules/chat/chat.lua @@ -745,13 +745,14 @@ function CH:CheckLFGRoles() local role = UnitGroupRolesAssigned("player") if(role) then - lfgRoles[Myname] = rolePaths[role] + lfgRoles[Myname..'-'..Myrealm] = rolePaths[role] end for i=1, GetNumGroupMembers() do if(UnitExists(unit..i) and not UnitIsUnit(unit..i, "player")) then role = UnitGroupRolesAssigned(unit..i) local name = GetUnitName(unit..i, true) + local isSame = UnitIsSameServer("player", unit..i) and name..'-'..Myrealm;lfgRoles[isSame or name] = rolePaths[role] if(role and name) then lfgRoles[name] = rolePaths[role] end -- 1.7.9.5