From c22e4b543c26e2e1fa58ba0c0bb8b14f98c60164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sat, 27 Sep 2025 00:21:02 +0800 Subject: [PATCH] chore: make lint happy --- plugin/aichat/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/aichat/main.go b/plugin/aichat/main.go index d27bdaf8..49ebd7af 100644 --- a/plugin/aichat/main.go +++ b/plugin/aichat/main.go @@ -82,7 +82,7 @@ func init() { } ctx.State["__aichat_stor__"] = stor return ctx.ExtractPlainText() != "" && - (bool(!stor.noreplyat()) || (bool(stor.noreplyat()) && !ctx.Event.IsToMe)) + (!stor.noreplyat() || (stor.noreplyat() && !ctx.Event.IsToMe)) }).SetBlock(false).Handle(func(ctx *zero.Ctx) { gid := ctx.Event.GroupID if gid == 0 {