From 908b5679d0941474616c862ba1e94075ab66be08 Mon Sep 17 00:00:00 2001 From: mercury Date: Sun, 11 Jun 2023 16:35:08 +0400 Subject: [PATCH] fix remove wg peer --- app/bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index aa12d3a..d8eba92 100644 --- a/app/bot.php +++ b/app/bot.php @@ -2864,7 +2864,7 @@ DNS-over-HTTPS with IP: { $clients = $this->readClients(); unset($clients[$client]); - $this->saveClients($clients); + $this->saveClients(array_values($clients)); } public function saveClient(array $client)