Some rola icon fixes by Simply
Darthpred [02-21-14 - 15:54]
Some rola icon fixes by Simply
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