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 (
|
const (
|
||||||
INDEX = "index"
|
INDEX = "index"
|
||||||
|
OPTS = "opts"
|
||||||
ARGS = "args"
|
ARGS = "args"
|
||||||
|
SHIP = "ship"
|
||||||
STYLE = "style"
|
STYLE = "style"
|
||||||
DISPLAY = "display"
|
DISPLAY = "display"
|
||||||
ACTION = "action"
|
ACTION = "action"
|
||||||
SHIP = "ship"
|
|
||||||
RUN = "run"
|
RUN = "run"
|
||||||
)
|
)
|
||||||
const COMMAND = "command"
|
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) {
|
func _space_handle(m *ice.Message, safe bool, name string, c *websocket.Conn) {
|
||||||
defer m.Cost(SPACE, name)
|
defer m.Cost(SPACE, name)
|
||||||
m.Option(ice.MSG_USERROLE, "")
|
m.Options(ice.MSG_USERROLE, "", mdb.TYPE, "", mdb.NAME, "", cli.DAEMON, "")
|
||||||
for {
|
for {
|
||||||
_, b, e := c.ReadMessage()
|
_, b, e := c.ReadMessage()
|
||||||
if e != nil {
|
if e != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user