From 2a2583574fe75e9314fb8b54b2c13d88e0539bc4 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Wed, 3 Dec 2014 15:25:39 +0100 Subject: [PATCH] Rename the variable to be less general --- QuickQuest.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QuickQuest.lua b/QuickQuest.lua index a4f669b..cecd7d1 100644 --- a/QuickQuest.lua +++ b/QuickQuest.lua @@ -75,7 +75,7 @@ local function GetNPCID() return tonumber(string.match(UnitGUID('npc') or '', 'Creature%-.-%-.-%-.-%-.-%-(.-)%-')) end -local npcBlacklist = { +local ignoreGossipNPC = { -- Bodyguards [86945] = true, -- Aeda Brightdawn (Horde) [86933] = true, -- Vivianne (Horde) @@ -125,7 +125,7 @@ QuickQuest:Register('GOSSIP_SHOW', function() end SelectGossipOption(1) - elseif(instance ~= 'raid' and not npcBlacklist[npcID]) then + elseif(instance ~= 'raid' and not ignoreGossipNPC[npcID]) then SelectGossipOption(1) end end -- 1.7.9.5