summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-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