diff --git a/system/devices/MikrotikHotspot.php b/system/devices/MikrotikHotspot.php index c10461bf..f3b6226a 100644 --- a/system/devices/MikrotikHotspot.php +++ b/system/devices/MikrotikHotspot.php @@ -46,6 +46,8 @@ class MikrotikHotspot $p = ORM::for_table("tbl_plans")->find_one($plan['plan_expired']); if($p){ $this->add_customer($customer, $p); + $this->removeHotspotActiveUser($client, $customer['username']); + return; } } $this->removeHotspotUser($client, $customer['username']);