summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/XFSAccount.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/XFSAccount.py')
-rw-r--r--module/plugins/internal/XFSAccount.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/internal/XFSAccount.py b/module/plugins/internal/XFSAccount.py
index ba2c00ec9..627dc75c4 100644
--- a/module/plugins/internal/XFSAccount.py
+++ b/module/plugins/internal/XFSAccount.py
@@ -12,7 +12,7 @@ from module.plugins.internal.SimpleHoster import parseHtmlForm, set_cookies
class XFSAccount(Account):
__name__ = "XFSAccount"
__type__ = "account"
- __version__ = "0.25"
+ __version__ = "0.26"
__description__ = """XFileSharing account plugin"""
__license__ = "GPLv3"
@@ -97,6 +97,9 @@ class XFSAccount(Account):
except Exception, e:
self.logError(e)
+ else:
+ if premium:
+ trafficleft = -1
return {'validuntil': validuntil, 'trafficleft': trafficleft, 'premium': premium}