Implement dueler
This commit is contained in:
@@ -9,7 +9,9 @@ function shared.Inviter.Init()
|
||||
local channelRosterFrame = CreateFrame("Frame")
|
||||
channelRosterFrame:RegisterEvent("CHANNEL_ROSTER_UPDATE")
|
||||
channelRosterFrame:SetScript("OnEvent", function(self, event, index)
|
||||
if not Heimdall_Data.config.inviter.enabled then return end
|
||||
--if not Heimdall_Data.config.inviter.enabled then return end
|
||||
--Since multiple modules depend on this we won't disable it, for now...
|
||||
--I should really create a new module for just this though, eventually
|
||||
local count = select(5, GetChannelDisplayInfo(index))
|
||||
for i = 1, count do
|
||||
local name = GetChannelRosterInfo(index, i)
|
||||
|
||||
Reference in New Issue
Block a user