From 745d0b350269acf1cecda213b7c81263e8095772 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 29 Dec 2010 21:35:12 +0100 Subject: fixed MultiHome --- module/plugins/hooks/MultiHome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') 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 -- cgit v1.2.3