No need to check CHAT_MSG_CHANNEL_NOTICE type

This commit is contained in:
Andrew Tomaka 2011-05-27 15:09:58 -04:00
parent 5331debea4
commit 827818c6d4

View file

@ -23,7 +23,7 @@ function core:SlashCommand()
end end
function core:RejoinChannels(event,message,...) function core:RejoinChannels(event,message,...)
if(message == 'YOU_LEFT' or core.verified == true) then if(core.verified == true) then
return; return;
end end
@ -66,7 +66,7 @@ function core:LeaveChannel(msg)
local number = gsub(msg, "%s*([^%s]+).*", "%1"); local number = gsub(msg, "%s*([^%s]+).*", "%1");
local _,name = GetChannelName(number); local _,name = GetChannelName(number);
ChatSaverDB[name] = nil; --ChatSaverDB[name] = nil;
end end
function core:ToggleChatChannel(checked,channel) function core:ToggleChatChannel(checked,channel)