summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Xdcc.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-11 01:04:09 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-11 01:04:09 +0200
commitc3b3f3ea5c813edbe3e6941c535c78ad494244ee (patch)
tree6a76a01cdf3d5fe678e02618bdbe7d0c5ce8ca8c /module/plugins/hoster/Xdcc.py
parentFix https://github.com/pyload/pyload/issues/2002 (diff)
downloadpyload-c3b3f3ea5c813edbe3e6941c535c78ad494244ee.tar.xz
Fix https://github.com/pyload/pyload/issues/1998
Fix https://github.com/pyload/pyload/issues/1999 Fix https://github.com/pyload/pyload/issues/2001
Diffstat (limited to 'module/plugins/hoster/Xdcc.py')
-rw-r--r--module/plugins/hoster/Xdcc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/Xdcc.py b/module/plugins/hoster/Xdcc.py
index 1cee6f5df..e107caf51 100644
--- a/module/plugins/hoster/Xdcc.py
+++ b/module/plugins/hoster/Xdcc.py
@@ -14,7 +14,7 @@ from module.utils import save_join as fs_join
class Xdcc(Hoster):
- __name = "Xdcc"
+ __name__ = "Xdcc"
__type__ = "hoster"
__version__ = "0.34"
__status__ = "testing"
@@ -35,7 +35,7 @@ class Xdcc(Hoster):
def process(self, pyfile):
#: Change request type
- self.req = self.pyload.requestFactory.getRequest(self.__name__, type="XDCC")
+ self.req = self.pyload.requestFactory.getRequest(self.classname, type="XDCC")
self.pyfile = pyfile
for _i in xrange(0, 3):