summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 21:35:12 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 21:35:12 +0100
commit745d0b350269acf1cecda213b7c81263e8095772 (patch)
tree563e889ed3e691038fdd4e6965901e323876d984 /module/plugins/hooks
parentfixed typo (diff)
downloadpyload-745d0b350269acf1cecda213b7c81263e8095772.tar.xz
fixed MultiHome
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/MultiHome.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/MultiHome.py b/module/plugins/hooks/MultiHome.py
index 68ad02181..dc7bd3b49 100644
--- a/module/plugins/hooks/MultiHome.py
+++ b/module/plugins/hooks/MultiHome.py
@@ -53,7 +53,7 @@ class MultiHome(Hook):
iface = self.bestInterface(pluginName, account)
if iface:
iface.useFor(pluginName, account)
- requestFactory.iface = lambda self: iface.adress
+ requestFactory.iface = lambda: iface.adress
self.log.debug("Multihome: using address: "+iface.adress)
return oldGetRequest(pluginName, account)
requestFactory.getRequest = getRequest