diff --git a/app/bot.php b/app/bot.php index 760bdf4..eb3301f 100644 --- a/app/bot.php +++ b/app/bot.php @@ -5415,10 +5415,7 @@ DNS-over-HTTPS with IP: public function resetXrUser($i) { $c = $this->getXrayStats(); - $c['clients'][$i]['global'] = [ - 'download' => 0, - 'upload' => 0, - ]; + unset($c['users'][$i]); $this->restartXray($this->getXray()); $this->userXr($i); }