fml
Darthpred [02-23-14 - 10:15]
diff --git a/ElvUI_SLE/modules/chat/chat.lua b/ElvUI_SLE/modules/chat/chat.lua
index 113ff1e..174914a 100755
--- a/ElvUI_SLE/modules/chat/chat.lua
+++ b/ElvUI_SLE/modules/chat/chat.lua
@@ -751,9 +751,10 @@ 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 = GetUnitName(unit..i, true)
- local name = realm and name..'-'..realm or name..'-'..Myrealm;lfgRoles[name] = rolePaths[role]
+ local name, realm = UnitName(unit..i)
+
if(role and name) then
+ name = realm and name..'-'..realm or name..'-'..Myrealm
lfgRoles[name] = rolePaths[role]
end
end