cleanup AFK

This commit is contained in:
Crum
2017-12-14 23:18:14 -06:00
parent 7ffb964262
commit 995b19530c
+6 -4
View File
@@ -1,11 +1,13 @@
local E, L, V, P, G = unpack(ElvUI) local E, L, V, P, G = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local AFK = E:NewModule("AFK", "AceEvent-3.0", "AceTimer-3.0") local AFK = E:NewModule("AFK", "AceEvent-3.0", "AceTimer-3.0");
-- local CH = E:GetModule("Chat") -- local CH = E:GetModule("Chat")
local _G = getfenv() --Cache global variables
--Lua functions
local _G = _G
local GetTime = GetTime local GetTime = GetTime
local floor = math.floor local floor = math.floor
--WoW API / Variables
local CinematicFrame = CinematicFrame local CinematicFrame = CinematicFrame
local CreateFrame = CreateFrame local CreateFrame = CreateFrame
local GetBattlefieldStatus = GetBattlefieldStatus local GetBattlefieldStatus = GetBattlefieldStatus