Files
WeirdUtils/src/logsessions/addon/LogSessions.lua
T
MarcelineVQ 23e44cd2a4 Move log path update from core addon to logsessions addon
The combat/chat log path global updates are logsessions-specific and
don't belong in the core addon. Created a dedicated LogSessions addon
with its own TOC, embedded file entries, and conditional loading.
2026-03-07 10:58:24 -08:00

14 lines
548 B
Lua

-- LogSessions addon: update log path globals to show actual redirected paths
local frame = CreateFrame("Frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:SetScript("OnEvent", function()
if GetCombatLogPath and COMBATLOGENABLED == "Combat being logged to Logs\\WoWCombatLog.txt" then
COMBATLOGENABLED = "Combat being logged to " .. GetCombatLogPath()
end
if GetChatLogPath and CHATLOGENABLED == "Chat being logged to Logs\\WoWChatLog.txt" then
CHATLOGENABLED = "Chat being logged to " .. GetChatLogPath()
end
end)