1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-27 01:48:27 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-03-01 16:30:35 +08:00
parent b6bcf08176
commit d3221f5453

View File

@ -25,7 +25,9 @@ func _sess_create(m *ice.Message, username string, arg ...string) {
}
}
func _sess_check(m *ice.Message, sessid string) {
if val := mdb.HashSelectDetails(m, sessid, func(value ice.Map) bool { return !m.WarnNotValidTime(value[mdb.TIME], sessid) }); len(val) > 0 {
if val := mdb.HashSelectDetails(m, sessid, func(value ice.Map) bool {
return kit.Format(value[mdb.TIME]) > m.Time()
}); len(val) > 0 {
SessAuth(m, val)
}
}