summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegauploadCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/MegauploadCom.py')
-rw-r--r--module/plugins/accounts/MegauploadCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/MegauploadCom.py b/module/plugins/accounts/MegauploadCom.py
index 36779d4f5..77a11fe25 100644
--- a/module/plugins/accounts/MegauploadCom.py
+++ b/module/plugins/accounts/MegauploadCom.py
@@ -28,5 +28,5 @@ class MegauploadCom(Account):
__author_mail__ = ("RaNaN@pyload.org")
def login(self, user, data):
- req = self.core.requestFactory.getRequest(self.__name__, user)
+ req = self.getAccountRequest(user)
req.load("http://www.megaupload.com/?c=login&next=c%3Dpremium", post={ "username" : user, "password" : data["password"], "login" :"1"}, cookies=True)