1
0
forked from x/icebergs

fix ocean spawn

This commit is contained in:
shylinux 2020-02-26 17:01:37 +08:00
parent 1e601771b5
commit 478930c77d
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ var Index = &ice.Context{Name: "chat", Help: "聊天中心",
))
m.Log(ice.LOG_CREATE, "river: %v name: %v", river, arg[1])
// 添加用户
m.Cmd("/river", river, "add", arg[2:])
m.Cmd("/river", river, "add", m.Option(ice.MSG_USERNAME), arg[2:])
m.Echo(river)
}
}},

View File

@ -361,7 +361,7 @@ var Index = &ice.Context{Name: "wiki", Help: "文档中心",
}},
"word": {Name: "word", Help: "语言文字", Meta: kit.Dict("remote", "pod", "display", "wiki/word"), List: kit.List(
kit.MDB_INPUT, "text", "name", "path", "value", "自然/编程/hi.shy",
kit.MDB_INPUT, "text", "path", "path", "value", "自然/编程/hi.shy",
kit.MDB_INPUT, "button", "name", "执行", "action", "auto",
kit.MDB_INPUT, "button", "name", "返回", "cb", "Last",
), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {