mirror of
https://shylinux.com/x/icebergs
synced 2025-05-02 19:47:02 +08:00
opt some
This commit is contained in:
parent
3046687308
commit
e0dc333601
@ -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),
|
||||
)
|
||||
})
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user