From b75435005ef4a1dbc0509aaf44f27fdd0e064ad4 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 24 Apr 2015 11:27:28 +0400 Subject: [PATCH] surprize error on group roster update --- ElvUI_SLE/modules/chat.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/modules/chat.lua b/ElvUI_SLE/modules/chat.lua index 740c35f..08b4025 100644 --- a/ElvUI_SLE/modules/chat.lua +++ b/ElvUI_SLE/modules/chat.lua @@ -275,12 +275,12 @@ function CH:CheckLFGRoles() local unit = isInRaid and "raid" or "party" local name, realm twipe(lfgRoles) - if(not isInGroup or not self.db.lfgIcons) then return end local role = UnitGroupRolesAssigned("player") - if(role) then - lfgRoles[PLAYER_NAME] = "|T"..SLE.rolePaths[E.db.sle.roleicons][role]..":15:15:0:0:64:64:2:56:2:56|t" + if(role and role ~= "NONE") then + local path = SLE.rolePaths[E.db.sle.roleicons][role] + lfgRoles[PLAYER_NAME] = "|T"..path..":15:15:0:0:64:64:2:56:2:56|t" end for i=1, GetNumGroupMembers() do -- 1.7.9.5