diff --git a/system/devices/MikrotikPppoe.php b/system/devices/MikrotikPppoe.php index 04f12c8d..3d2caa23 100644 --- a/system/devices/MikrotikPppoe.php +++ b/system/devices/MikrotikPppoe.php @@ -75,6 +75,10 @@ class MikrotikPppoe $p = ORM::for_table("tbl_plans")->find_one($plan['plan_expired']); if($p){ $this->add_customer($customer, $p); + $this->removePpoeActive($client, $customer['username']); + if (!empty($customer['pppoe_username'])) { + $this->removePpoeActive($client, $customer['pppoe_username']); + } return; } } diff --git a/version.json b/version.json index 99ed93d9..56b6712c 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "2024.8.9" + "version": "2024.8.9.1" } \ No newline at end of file