From 7bdd53079e84cad5217442f58031290a5910f0cd Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Thu, 30 Sep 2021 19:18:37 +0800 Subject: [PATCH] update --- core/test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/test.go b/core/test.go index 15da59f..119d461 100644 --- a/core/test.go +++ b/core/test.go @@ -54,6 +54,9 @@ func initSys() { Cron: "*/1 * * * *", Admin: true, Handle: func(s Sender) interface{} { + if !sillyGirl.GetBool("auto_update", false) { + return nil + } s.Reply("开始检查核心更新...", E) update := false record := func(b bool) {