Attempt to use PLAYER_ALIVE for rejoining channels.

This commit is contained in:
Andrew Tomaka 2011-08-09 06:00:52 -04:00
parent e34a237c84
commit 8d437e2f06

View file

@ -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