diff --git a/.luacheckrc b/.luacheckrc index e30bcde..275db1c 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -46,9 +46,12 @@ read_globals = { 'C_Timer', -- API + 'AcceptQuest', 'ClearOverrideBindings', 'CreateFrame', 'GetActionInfo', + 'GetQuestID', + 'GetQuestReward', 'GetRaidTargetIndex', 'HasExtraActionBar', 'InCombatLockdown', diff --git a/modules/reflect.lua b/modules/reflect.lua index 1d2ce55..c6244a8 100644 --- a/modules/reflect.lua +++ b/modules/reflect.lua @@ -131,7 +131,7 @@ function addon:GOSSIP_SHOW() if NPCS[npcID] then addon:Print('Unknown option') answered = false - for index, info in next, C_GossipInfo.GetOptions() do + for _, info in next, C_GossipInfo.GetOptions() do addon:Print(info.gossipOptionID, info.name) end end