From f5ecb28abc4b0cdf9a8392ef04446721dd7fe26f Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Thu, 18 Oct 2012 00:16:22 +0200 Subject: [PATCH] Remove old unused function --- Monomyth.lua | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Monomyth.lua b/Monomyth.lua index 599fbdf..4da4530 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -56,20 +56,6 @@ local function GetCreatureID() return tonumber(string.sub(UnitGUID('npc') or '', -12, -9), 16) end -local function GetNumGossipCompletedQuests() - local completed = 0 - local active = GetNumGossipActiveQuests() - if(active > 0) then - for index = 1, active do - if(select(index + 3, (GetGossipActiveQuests()))) then - completed = completed + 1 - end - end - end - - return completed -end - Monomyth:Register('GOSSIP_SHOW', function() local active = GetNumGossipActiveQuests() if(active > 0) then -- 1.7.9.5