forked from x/icebergs
opt some
This commit is contained in:
parent
2fe1f52608
commit
5a05667a74
@ -20,7 +20,7 @@ func init() {
|
|||||||
m.Cmdy(TASK, mdb.INSERT, arg)
|
m.Cmdy(TASK, mdb.INSERT, arg)
|
||||||
}},
|
}},
|
||||||
}, TASK), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
}, TASK), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||||
begin_time, end_time := _task_scope(m, 8, append([]string{LONG}, arg...)...)
|
begin_time, end_time := _plan_scope(m, 8, append([]string{LONG}, arg...)...)
|
||||||
msg := _plan_list(m.Spawn(), begin_time, end_time)
|
msg := _plan_list(m.Spawn(), begin_time, end_time)
|
||||||
msg.SortTime(BEGIN_TIME)
|
msg.SortTime(BEGIN_TIME)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user