From 1a3698a4e5d1125ebaa9a149c8c72cc33c5da58a Mon Sep 17 00:00:00 2001 From: Darthpred Date: Wed, 15 Oct 2014 21:50:21 +0400 Subject: [PATCH] Just in case --- ElvUI_SLE/modules/chat.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/chat.lua b/ElvUI_SLE/modules/chat.lua index 90b743e..064a25a 100644 --- a/ElvUI_SLE/modules/chat.lua +++ b/ElvUI_SLE/modules/chat.lua @@ -243,7 +243,7 @@ function CH:CheckLFGRoles() role = UnitGroupRolesAssigned(unit..i) local name, realm = UnitName(unit..i) if(role and name) then - name = realm ~= '' and name..'-'..realm or name ..'-'..PLAYER_REALM; + name = (realm and realm ~= '') and name..'-'..realm or name ..'-'..PLAYER_REALM; lfgRoles[name] = rolePaths[role] end end -- 1.7.9.5