summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
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 {