diff --git a/base/ctx/command.go b/base/ctx/command.go index 6a587e3c..ad5465f2 100644 --- a/base/ctx/command.go +++ b/base/ctx/command.go @@ -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" diff --git a/base/web/space.go b/base/web/space.go index f6d441be..6a786dfd 100644 --- a/base/web/space.go +++ b/base/web/space.go @@ -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 {