chore: make lint happy

This commit is contained in:
源文雨 2026-01-03 23:39:30 +08:00
parent 57c41a7db2
commit 71d43eb101

View File

@ -47,10 +47,6 @@ var (
func init() {
en.OnMessage(chat.EnsureConfig, func(ctx *zero.Ctx) bool {
gid := ctx.Event.GroupID
if gid == 0 {
gid = -ctx.Event.UserID
}
stor, ok := ctx.State[zero.StateKeyPrefixKeep+"aichatcfg_stor__"].(chat.Storage)
if !ok {
logrus.Warnln("ERROR: cannot get stor")