No need to check CHAT_MSG_CHANNEL_NOTICE type
This commit is contained in:
parent
5331debea4
commit
827818c6d4
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue