From ba0895ea4cd5acc57c6b52aa91fdd0811ec5d672 Mon Sep 17 00:00:00 2001 From: mercury Date: Mon, 21 Oct 2024 01:28:15 +0400 Subject: [PATCH] fix start menu --- app/bot.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/bot.php b/app/bot.php index 676e35a..135f748 100644 --- a/app/bot.php +++ b/app/bot.php @@ -1446,9 +1446,7 @@ class Bot $this->language = $this->getPacConf()['language'] ?: 'en'; $this->limit = $this->getPacConf()['limitpage'] ?: 5; sleep(3); - if (empty($file)) { - $this->menu(); - } + $this->menu(); } } @@ -1788,8 +1786,6 @@ class Bot if (empty($c['domain'])) { $this->addDomain(str_replace('.', '-', $this->ip) . '.nip.io', 1); $this->setSSL('letsencrypt'); - } else { - $this->menu(); } } @@ -5762,6 +5758,8 @@ DNS-over-HTTPS with IP: unlink($this->update); $flag = true; } + } else { + $this->menu(); } } }