summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Xdcc.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:25:21 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:25:21 +0200
commitf2deb6e7001e97d14bc4e9ee28c49eea806e62c6 (patch)
treee5361790b1b093092b5dc94af24c194cb82bf165 /module/plugins/hoster/Xdcc.py
parentFix header # -*- coding: utf-8 -*- (diff)
downloadpyload-f2deb6e7001e97d14bc4e9ee28c49eea806e62c6.tar.xz
Fix __pattern__ www
Merges vuolter/pyload@d3be840
Diffstat (limited to 'module/plugins/hoster/Xdcc.py')
-rw-r--r--module/plugins/hoster/Xdcc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/Xdcc.py b/module/plugins/hoster/Xdcc.py
index 8e34977bb..d358c63b5 100644
--- a/module/plugins/hoster/Xdcc.py
+++ b/module/plugins/hoster/Xdcc.py
@@ -34,7 +34,7 @@ from module.plugins.Hoster import Hoster
class Xdcc(Hoster):
__name__ = "Xdcc"
__version__ = "0.32"
- __pattern__ = r'xdcc://.*?(/#?.*?)?/.*?/#?\d+/?' # xdcc://irc.Abjects.net/#channel/[XDCC]|Shit/#0004/
+ __pattern__ = r'xdcc://([^/]*?)(/#?.*?)?/.*?/#?\d+/?' # xdcc://irc.Abjects.net/#channel/[XDCC]|Shit/#0004/
__type__ = "hoster"
__config__ = [("nick", "str", "Nickname", "pyload"),
("ident", "str", "Ident", "pyloadident"),