Fix LFT showing up as first channel

This commit is contained in:
OldManAlpha
2026-01-15 14:10:17 -08:00
committed by Spit
parent 439ef4a1c7
commit 7d4b7f4591
+12 -1
View File
@@ -26,7 +26,18 @@ function aux.handle.LOAD2()
data = aux.faction_data.history
local _, name = GetChannelName("LFT")
if aux.account_data.sharing and not name then
JoinChannelByName("LFT")
aux.thread(aux.when, aux.later(5), function()
local shouldJoin = true
for i, channel in ipairs({GetChannelList()}) do
if channel == "LFT" then
shouldJoin = false
break
end
end
if shouldJoin then
JoinChannelByName("LFT")
end
end)
end
end