From f252e74d0507b32548df2c682fa979b3eff06388 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sat, 16 May 2015 16:22:38 +0400 Subject: [PATCH] This one throwed errors at random --- .../modules/Armory/InspectArmory/InspectArmory.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua b/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua index a049695..ad980d9 100644 --- a/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua +++ b/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua @@ -1323,13 +1323,12 @@ function IA:CreateInspectFrame() end) InspectArmory_UnitPopup:SetScript('OnClick', function(self) local SendChannel, InspectWork - if AISM and AISM.AISMUserList[self.Data.TableIndex] then if self.Data.Realm == Info.MyRealm then SendChannel = 'WHISPER' elseif AISM.AISMUserList[self.Data.TableIndex] == 'GUILD' then SendChannel = 'GUILD' - elseif Info.CurrentGroupMode ~= 'NoGroup' then + elseif Info.CurrentGroupMode and Info.CurrentGroupMode ~= 'NoGroup' then SendChannel = IsInGroup(LE_PARTY_CATEGORY_INSTANCE) and 'INSTANCE_CHAT' or string.upper(Info.CurrentGroupMode) end end -- 1.7.9.5