From 9afde78a118211a16301e6dff44bac9ce3cf687b Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Thu, 30 Sep 2021 20:31:13 +0800 Subject: [PATCH] update --- core/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/test.go b/core/test.go index b6f2a99..6d9f59b 100644 --- a/core/test.go +++ b/core/test.go @@ -56,7 +56,7 @@ func initSys() { Cron: "*/1 * * * *", Admin: true, Handle: func(s Sender) interface{} { - if !sillyGirl.GetBool("auto_update", true) { + if s.GetImType() == "fake" && !sillyGirl.GetBool("auto_update", true) { return nil } s.Reply("开始检查核心更新...", E)