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) {