From f0fe78c508c60f09b325dba464d45a5191c26c43 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 4 May 2015 22:40:41 +0400 Subject: [PATCH] That was throuwing a bazzilion errors at me --- .../modules/Armory/InspectArmory/InspectArmory.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua b/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua index f46ff1e..a049695 100644 --- a/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua +++ b/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua @@ -1443,7 +1443,7 @@ function IA:CreateInspectFrame() local isSending if DataTable.Unit and not (UnitCanAttack('player', DataTable.Unit) or not UnitIsConnected(DataTable.Unit) or not UnitIsPlayer(DataTable.Unit)) then - if DataTable.Realm == Info.MyRealm or Info.CurrentGroupMode ~= 'NoGroup' then + if DataTable.Realm == Info.MyRealm or (Info.CurrentGroupMode and Info.CurrentGroupMode ~= 'NoGroup') then isSending = 'AISM_CheckResponse' SendAddonMessage('AISM', 'AISM_Check', DataTable.Realm == Info.MyRealm and 'WHISPER' or IsInGroup(LE_PARTY_CATEGORY_INSTANCE) and 'INSTANCE_CHAT' or string.upper(Info.CurrentGroupMode), DataTable.Name) end -- 1.7.9.5