From 64d19f3b89c7c9e4ec7f1f00dbf0c3a983d1f722 Mon Sep 17 00:00:00 2001 From: mercury Date: Mon, 1 May 2023 22:16:32 +0400 Subject: [PATCH] show 'update PAC' for reverselist pac --- app/bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index 1895a82..aa30032 100644 --- a/app/bot.php +++ b/app/bot.php @@ -1571,7 +1571,7 @@ DNS-over-HTTPS with IP: 'callback_data' => "/menu reverselist 0", ], ]; - if ($conf['zapret'] || !empty($conf['includelist'])) { + if ($conf['zapret'] || !empty($conf['includelist']) || !empty($conf['reverselist'])) { $data[] = [ [ 'text' => "{$this->i18n('update')} PAC",