mirror of
https://shylinux.com/x/icebergs
synced 2025-05-03 12:07:00 +08:00
opt some
This commit is contained in:
parent
3046687308
commit
e0dc333601
@ -1,9 +1,9 @@
|
|||||||
package aaa
|
package aaa
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/shylinux/icebergs"
|
ice "github.com/shylinux/icebergs"
|
||||||
"github.com/shylinux/icebergs/base/mdb"
|
"github.com/shylinux/icebergs/base/mdb"
|
||||||
"github.com/shylinux/toolkits"
|
kit "github.com/shylinux/toolkits"
|
||||||
)
|
)
|
||||||
|
|
||||||
func _sess_list(m *ice.Message) {
|
func _sess_list(m *ice.Message) {
|
||||||
@ -36,9 +36,9 @@ func _sess_check(m *ice.Message, sessid string) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
m.Log_AUTH(
|
m.Log_AUTH(
|
||||||
|
USERNICK, m.Option(ice.MSG_USERNICK, value[USERNICK]),
|
||||||
USERNAME, m.Option(ice.MSG_USERNAME, value[USERNAME]),
|
USERNAME, m.Option(ice.MSG_USERNAME, value[USERNAME]),
|
||||||
USERROLE, m.Option(ice.MSG_USERROLE, kit.Select(UserRole(m, 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")
|
js.WriteString(`_can_name = ""` + "\n")
|
||||||
|
|
||||||
if f, p, e := kit.Create("usr/volcanos/cache.html"); m.Assert(e) {
|
if f, _, e := kit.Create("usr/volcanos/cache.html"); m.Assert(e) {
|
||||||
m.Debug("%v ", p)
|
|
||||||
f.WriteString(fmt.Sprintf(`
|
f.WriteString(fmt.Sprintf(`
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<head>
|
<head>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user