summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster')
-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 a26e239ad..d26f12a78 100644
--- a/module/plugins/hoster/Xdcc.py
+++ b/module/plugins/hoster/Xdcc.py
@@ -11,7 +11,7 @@ from os.path import exists, join
from select import select
from module.plugins.Hoster import Hoster
-from module.utils import save_join
+from module.utils import safe_join
class Xdcc(Hoster):
@@ -187,7 +187,7 @@ class Xdcc(Hoster):
self.pyfile.name = packname
download_folder = self.config['general']['download_folder']
- filename = save_join(download_folder, packname)
+ filename = safe_join(download_folder, packname)
self.logInfo("XDCC: Downloading %s from %s:%d" % (packname, ip, port))