Skip to content

Commit b155322

Browse files
committed
🐛 初始化数据库
1 parent 43b5ddd commit b155322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/antiabuse/anti.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func init() {
6868
return true
6969
}
7070

71-
engine.OnMessage(notAntiabuse, zero.OnlyGroup, func(ctx *zero.Ctx) bool {
71+
engine.OnMessage(onceRule, notAntiabuse, zero.OnlyGroup, func(ctx *zero.Ctx) bool {
7272
uid := ctx.Event.UserID
7373
gid := ctx.Event.GroupID
7474
msg := strings.ReplaceAll(ctx.MessageString(), "\n", "")

0 commit comments

Comments
 (0)