forked from x/icebergs
add some
This commit is contained in:
parent
8e58a5bcb8
commit
03c5e3108a
@ -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"
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user