This commit is contained in:
cdle
2021-09-30 19:18:37 +08:00
parent da68e66aad
commit 7bdd53079e
+3
View File
@@ -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) {