This commit is contained in:
cdle
2021-09-30 20:31:13 +08:00
parent 5fc911f887
commit 9afde78a11
+1 -1
View File
@@ -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)