vless stats: fix reset user stats

This commit is contained in:
mercury
2025-02-11 22:48:47 +04:00
parent a21c9b5fe9
commit a8a203041f
+1 -4
View File
@@ -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);
}