forked from x/ContextOS
mac mod close 完整了退出机制
This commit is contained in:
parent
2f0710142b
commit
8dec0d2352
@ -290,7 +290,15 @@ func (lex *LEX) Start(m *ctx.Message, arg ...string) bool { // {{{
|
||||
|
||||
// }}}
|
||||
func (lex *LEX) Close(m *ctx.Message, arg ...string) bool { // {{{
|
||||
return false
|
||||
switch lex.Context {
|
||||
case m.Target:
|
||||
if lex.Context == Index {
|
||||
return false
|
||||
}
|
||||
case m.Source:
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user