Skip to content

Commit c22e4b5

Browse files
committed
chore: make lint happy
1 parent 4434a61 commit c22e4b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/aichat/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func init() {
8282
}
8383
ctx.State["__aichat_stor__"] = stor
8484
return ctx.ExtractPlainText() != "" &&
85-
(bool(!stor.noreplyat()) || (bool(stor.noreplyat()) && !ctx.Event.IsToMe))
85+
(!stor.noreplyat() || (stor.noreplyat() && !ctx.Event.IsToMe))
8686
}).SetBlock(false).Handle(func(ctx *zero.Ctx) {
8787
gid := ctx.Event.GroupID
8888
if gid == 0 {

0 commit comments

Comments
 (0)