Attempt to use PLAYER_ALIVE for rejoining channels.
This commit is contained in:
parent
e34a237c84
commit
8d437e2f06
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ function core:OnEnable()
|
||||||
self:Hook('ToggleChatChannel','ToggleChatChannel',true)
|
self:Hook('ToggleChatChannel','ToggleChatChannel',true)
|
||||||
|
|
||||||
self:RegisterEvent('CHAT_MSG_CHANNEL_NOTICE','ProcessChannelChange')
|
self:RegisterEvent('CHAT_MSG_CHANNEL_NOTICE','ProcessChannelChange')
|
||||||
|
self:RegisterEvent('PLAYER_ALIVE','RejoinChannels')
|
||||||
if core.firstrun then
|
if core.firstrun then
|
||||||
self:RegisterEvent('CHANNEL_UI_UPDATE','SetupChatSaver')
|
self:RegisterEvent('CHANNEL_UI_UPDATE','SetupChatSaver')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue