1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-08-10 21:28:11 +08:00
parent 8e58a5bcb8
commit 03c5e3108a
2 changed files with 3 additions and 2 deletions

View File

@ -50,11 +50,12 @@ func _command_search(m *ice.Message, kind, name, text string) {
const (
INDEX = "index"
OPTS = "opts"
ARGS = "args"
SHIP = "ship"
STYLE = "style"
DISPLAY = "display"
ACTION = "action"
SHIP = "ship"
RUN = "run"
)
const COMMAND = "command"

View File

@ -73,7 +73,7 @@ func _space_fork(m *ice.Message) {
}
func _space_handle(m *ice.Message, safe bool, name string, c *websocket.Conn) {
defer m.Cost(SPACE, name)
m.Option(ice.MSG_USERROLE, "")
m.Options(ice.MSG_USERROLE, "", mdb.TYPE, "", mdb.NAME, "", cli.DAEMON, "")
for {
_, b, e := c.ReadMessage()
if e != nil {