Elv is a son of a bitch >_<
Darthpred [10-01-13 - 18:24]
Elv is a son of a bitch >_<
diff --git a/ElvUI_SLE/modules/chat/chat.lua b/ElvUI_SLE/modules/chat/chat.lua
index 8868a1e..be0fa5d 100755
--- a/ElvUI_SLE/modules/chat/chat.lua
+++ b/ElvUI_SLE/modules/chat/chat.lua
@@ -144,13 +144,9 @@ function CH:CheckLFGRoles()
for i=1, GetNumGroupMembers() do
if(UnitExists(unit..i) and not UnitIsUnit(unit..i, "player")) then
role = UnitGroupRolesAssigned(unit..i)
- local name, realm = UnitName(unit..i)
- if(role) then
- if(realm and realm ~= E.myrealm) then
- lfgRoles[name.."-"..realm] = role
- else
- lfgRoles[name] = role
- end
+ local name = GetUnitName(unit..i, true)
+ if(role and name) then
+ lfgRoles[name] = rolePaths[role]
end
end
end