This commit is contained in:
cdle
2021-10-02 10:52:21 +08:00
parent 8164f3e161
commit b6562aef8c
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -199,6 +199,9 @@ func init() {
Admin: true,
Cron: "*/5 * * * *",
Handle: func(s core.Sender) interface{} {
if Config.Host == "" {
return nil
}
if s.GetImType() == "fake" && qinglong.GetBool("autoCronHideDuplicate", true) == false {
return nil
}