1
0
mirror of https://shylinux.com/x/icebergs synced 2025-05-02 19:47:02 +08:00
This commit is contained in:
shaoying 2020-08-11 08:32:42 +08:00
parent 3046687308
commit e0dc333601
2 changed files with 4 additions and 5 deletions

View File

@ -1,9 +1,9 @@
package aaa
import (
"github.com/shylinux/icebergs"
ice "github.com/shylinux/icebergs"
"github.com/shylinux/icebergs/base/mdb"
"github.com/shylinux/toolkits"
kit "github.com/shylinux/toolkits"
)
func _sess_list(m *ice.Message) {
@ -36,9 +36,9 @@ func _sess_check(m *ice.Message, sessid string) {
}
})
m.Log_AUTH(
USERNICK, m.Option(ice.MSG_USERNICK, value[USERNICK]),
USERNAME, m.Option(ice.MSG_USERNAME, value[USERNAME]),
USERROLE, m.Option(ice.MSG_USERROLE, kit.Select(UserRole(m, value[USERNAME]))),
USERNICK, m.Option(ice.MSG_USERROLE),
)
})
}

View File

@ -152,8 +152,7 @@ func init() {
}
js.WriteString(`_can_name = ""` + "\n")
if f, p, e := kit.Create("usr/volcanos/cache.html"); m.Assert(e) {
m.Debug("%v ", p)
if f, _, e := kit.Create("usr/volcanos/cache.html"); m.Assert(e) {
f.WriteString(fmt.Sprintf(`
<!DOCTYPE html>
<head>