From 08539aa305e0313ca7172fd8cbd22231eff7f1d0 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Wed, 20 Oct 2021 22:11:26 +0800 Subject: [PATCH] update --- core/recall.go | 4 +++- develop/qinglong/cron.go | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/core/recall.go b/core/recall.go index b8c5f34..05de0ce 100644 --- a/core/recall.go +++ b/core/recall.go @@ -14,7 +14,9 @@ func init() { { Rules: rules, Handle: func(s Sender) interface{} { - s.Delete() + if !s.IsAdmin() { + s.Delete() + } return nil }, }, diff --git a/develop/qinglong/cron.go b/develop/qinglong/cron.go index 219a017..dfc4420 100644 --- a/develop/qinglong/cron.go +++ b/develop/qinglong/cron.go @@ -209,6 +209,9 @@ func init() { } tasks := map[string]Cron{} for i := range crons { + if strings.Contains(crons[i].Name, "傻妞") { + continue + } if crons[i].IsDisabled != 0 { continue }