1
0
Fork 0

Potions fix: missing parameter and library

This commit is contained in:
pigmonkey 2011-06-08 05:34:17 -04:00
parent d1dd3898aa
commit 7a9261d6d3

View file

@ -1,5 +1,5 @@
local core = LibStub("AceAddon-3.0"):GetAddon("AllTheLittleThings")
local mod = core:NewModule("PotionMail", "AceEvent-3.0")
local mod = core:NewModule("PotionMail", "AceEvent-3.0", "AceTimer-3.0")
local db
local defaults = {
@ -26,7 +26,7 @@ function mod:OnEnable()
self:RegisterEvent("MAIL_SUCCESS", "MailQueueCheck");
end
function mod:AddPotions()
function mod:AddPotions(msg)
-- get all guild members
for i=1,GetNumGuildMembers() do
local name, rank = GetGuildRosterInfo(i)