From 46c05be8e22d96dcaac00421e637e28281639efa Mon Sep 17 00:00:00 2001 From: bashmak Date: Fri, 13 Apr 2018 10:37:31 +0300 Subject: [PATCH] Fix when save active=false and service is still continue --- abonapp/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/abonapp/models.py b/abonapp/models.py index 59c8e1c..f2840b1 100644 --- a/abonapp/models.py +++ b/abonapp/models.py @@ -258,8 +258,6 @@ class Abon(BaseAccount): # make subscriber from agent structure def build_agent_struct(self): - if not self.is_access(): - return if self.ip_address: user_ip = ip2int(self.ip_address) else: