summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-02-03 19:31:34 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2011-02-03 19:31:34 +0100
commitccadf3260e6113fc93e1f50ff8755bb0c1c7daa8 (patch)
tree2f4ec489a7ff370fddb227c986edd0db87c16b09 /module/plugins/Account.py
parentsmall bugfix (diff)
downloadpyload-ccadf3260e6113fc93e1f50ff8755bb0c1c7daa8.tar.xz
share-online.biz free account fix
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r--module/plugins/Account.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index 6eda09077..ae9038eed 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -111,6 +111,10 @@ class Account():
data.update(self.infos[name])
return data
+
+ def isPremium(self, user):
+ info = self.getAccountInfo(user)
+ return info["premium"]
def loadAccountInfo(self, name, req=None):
return {