From cff541260f32ee63bcc699f3ce12ca0262f11412 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sun, 23 Feb 2014 14:15:55 +0400 Subject: [PATCH] fml --- ElvUI_SLE/modules/chat/chat.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 1.7.9.5