mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
temp chat fix GMOTD
This commit is contained in:
@@ -1499,6 +1499,7 @@ function CH:DelayGuildMOTD()
|
|||||||
local msg = GetGuildRosterMOTD()
|
local msg = GetGuildRosterMOTD()
|
||||||
for i = 1, NUM_CHAT_WINDOWS do
|
for i = 1, NUM_CHAT_WINDOWS do
|
||||||
chat = _G["ChatFrame"..i]
|
chat = _G["ChatFrame"..i]
|
||||||
|
if i == 1 then -- TEMPORARY UNTIL FURTHER FIX
|
||||||
--if chat and chat:IsEventRegistered("CHAT_MSG_GUILD") then
|
--if chat and chat:IsEventRegistered("CHAT_MSG_GUILD") then
|
||||||
if msg and strlen(msg) > 0 then
|
if msg and strlen(msg) > 0 then
|
||||||
local info = ChatTypeInfo["GUILD"]
|
local info = ChatTypeInfo["GUILD"]
|
||||||
@@ -1508,6 +1509,7 @@ function CH:DelayGuildMOTD()
|
|||||||
chat:RegisterEvent("GUILD_MOTD")
|
chat:RegisterEvent("GUILD_MOTD")
|
||||||
--end
|
--end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
this:SetScript("OnUpdate", nil)
|
this:SetScript("OnUpdate", nil)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user