Update cron.go

This commit is contained in:
cdle
2021-09-24 10:55:55 +08:00
committed by GitHub
parent df5a95407a
commit e0d1b648a4
+1 -1
View File
@@ -199,7 +199,7 @@ func init() {
Admin: true,
Cron: "*/5 * * * *",
Handle: func(s core.Sender) interface{} {
if s.GetImType() == "" && qinglong.Get("autoCronHideDuplicate", "true") == "false" {
if s.GetImType() == "fake" && qinglong.Get("autoCronHideDuplicate", "true") == "false" {
return nil
}
w := func(s string) int {