1
0
forked from x/ContextOS

mac mod close 完整了退出机制

This commit is contained in:
shaoying 2017-12-18 00:18:01 +08:00
parent 2f0710142b
commit 8dec0d2352

View File

@ -290,7 +290,15 @@ func (lex *LEX) Start(m *ctx.Message, arg ...string) bool { // {{{
// }}}
func (lex *LEX) Close(m *ctx.Message, arg ...string) bool { // {{{
switch lex.Context {
case m.Target:
if lex.Context == Index {
return false
}
case m.Source:
}
return true
}
// }}}