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)