summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/Xdcc.py
diff options
context:
space:
mode:
authorGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-20 22:24:43 +0200
committerGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-20 22:24:43 +0200
commit919b6dacac69459c64239c3d48ccc435a18b049c (patch)
treeaf4b6fb3c49b1f79960a810c3963681f8be86b3f /pyload/plugin/hoster/Xdcc.py
parentadd log warnings by using of deprecated features (diff)
downloadpyload-919b6dacac69459c64239c3d48ccc435a18b049c.tar.xz
Improve getClassName
Diffstat (limited to 'pyload/plugin/hoster/Xdcc.py')
-rw-r--r--pyload/plugin/hoster/Xdcc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/hoster/Xdcc.py b/pyload/plugin/hoster/Xdcc.py
index 42491404f..30c7b7c22 100644
--- a/pyload/plugin/hoster/Xdcc.py
+++ b/pyload/plugin/hoster/Xdcc.py
@@ -36,7 +36,7 @@ class Xdcc(Hoster):
def process(self, pyfile):
# change request type
- self.req = pyfile.m.core.requestFactory.getRequest(self.__class__.__name__, type="XDCC")
+ self.req = pyfile.m.core.requestFactory.getRequest(self.getClassName(), type="XDCC")
self.pyfile = pyfile
for _i in xrange(0, 3):