From c14e52e6a52da74f5fc897d722911a6b6d47baa1 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sat, 2 Jul 2011 23:12:48 +0200 Subject: [PATCH] Minor cleaning --- Monomyth.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Monomyth.lua b/Monomyth.lua index fcb6380..9c7cf8d 100644 --- a/Monomyth.lua +++ b/Monomyth.lua @@ -1,8 +1,6 @@ local Monomyth = CreateFrame('Frame') Monomyth:SetScript('OnEvent', function(self, event, ...) self[event](...) end) -local COMPLETE = [=[Interface\GossipFrame\ActiveQuestIcon]=] - function Monomyth:Register(event, func) self:RegisterEvent(event) self[event] = function(...) @@ -55,7 +53,7 @@ Monomyth:Register('GOSSIP_SHOW', function() if(available == 0 and active == 0 and GetNumGossipOptions() == 1) then local _, type = GetGossipOptions() if(type == 'gossip') then - return SelectGossipOption(1) + SelectGossipOption(1) end end end) -- 1.7.9.5