diff options
Diffstat (limited to 'pyload/plugin/hoster/Xdcc.py')
-rw-r--r-- | pyload/plugin/hoster/Xdcc.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/Xdcc.py b/pyload/plugin/hoster/Xdcc.py index aa5e32eab..b9aa45419 100644 --- a/pyload/plugin/hoster/Xdcc.py +++ b/pyload/plugin/hoster/Xdcc.py @@ -15,17 +15,17 @@ from pyload.utils import fs_join class Xdcc(Hoster): - __name = "Xdcc" - __type = "hoster" - __version = "0.32" + __name__ = "Xdcc" + __type__ = "hoster" + __version__ = "0.32" - __config = [("nick", "str", "Nickname", "pyload"), + __config__ = [("nick", "str", "Nickname", "pyload"), ("ident", "str", "Ident", "pyloadident"), ("realname", "str", "Realname", "pyloadreal")] - __description = """Download from IRC XDCC bot""" - __license = "GPLv3" - __authors = [("jeix", "jeix@hasnomail.com")] + __description__ = """Download from IRC XDCC bot""" + __license__ = "GPLv3" + __authors__ = [("jeix", "jeix@hasnomail.com")] def setup(self): @@ -36,7 +36,7 @@ class Xdcc(Hoster): def process(self, pyfile): # change request type - self.req = pyfile.m.core.requestFactory.getRequest(self.__name, type="XDCC") + self.req = pyfile.m.core.requestFactory.getRequest(self.__name__, type="XDCC") self.pyfile = pyfile for _i in xrange(0, 3): |