From 5b709ea455023000008a1657314f8834413ead01 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 18 Oct 2014 01:53:04 +0400 Subject: [PATCH] lets try that --- ElvUI_SLE/modules/chat.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElvUI_SLE/modules/chat.lua b/ElvUI_SLE/modules/chat.lua index 064a25a..14b09e0 100644 --- a/ElvUI_SLE/modules/chat.lua +++ b/ElvUI_SLE/modules/chat.lua @@ -242,8 +242,8 @@ function CH:CheckLFGRoles() if(UnitExists(unit..i) and not UnitIsUnit(unit..i, "player")) then role = UnitGroupRolesAssigned(unit..i) local name, realm = UnitName(unit..i) - if(role and name) then - name = (realm and realm ~= '') and name..'-'..realm or name ..'-'..PLAYER_REALM; + if(role and name and realm) then + name = realm ~= '' and name..'-'..realm or name ..'-'..PLAYER_REALM; lfgRoles[name] = rolePaths[role] end end -- 1.7.9.5