diff --git a/app/bot.php b/app/bot.php index 08b45e7..581e592 100644 --- a/app/bot.php +++ b/app/bot.php @@ -1101,7 +1101,7 @@ class Bot { try { require __DIR__ . '/config.php'; - if (!empty($c['admin']) && (empty($this->time2) || ((time() - $this->time2) > 3600))) { + if (!empty($c['admin']) && date('H') == 12 && (empty($this->time2) || ((time() - $this->time2) > 4600))) { $this->time2 = time(); $cert = $this->expireCert(); if (!empty($cert) && $cert - 60 * 60 * 24 * 14 < time()) { diff --git a/version b/version index f01f930..75c7394 100644 --- a/version +++ b/version @@ -1,3 +1,5 @@ +10.09.2024 v1.52 +- фикс спамящего уведомления о просрочке сертификата 10.09.2024 v1.51 - фикс ipinfo 08.09.2024 v1.50