From 3cc16469ff38c14ec6a1d861538367e7fe022861 Mon Sep 17 00:00:00 2001 From: mercury Date: Fri, 25 Oct 2024 17:11:46 +0400 Subject: [PATCH] warp registration delete before off --- app/bot.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/bot.php b/app/bot.php index cfaff59..ce90f41 100644 --- a/app/bot.php +++ b/app/bot.php @@ -4656,6 +4656,7 @@ DNS-over-HTTPS with IP: { $p = $this->getPacConf(); if (empty($p['warpoff'])) { + $this->ssh('warp-cli --accept-tos registration delete', 'wp'); $this->ssh('pkill warp-svc', 'wp'); $p['warpoff'] = 1; } else {