summaryrefslogtreecommitdiffstats
path: root/pyload/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins')
-rw-r--r--pyload/plugins/addons/MultiHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/addons/MultiHoster.py b/pyload/plugins/addons/MultiHoster.py
index 446dfe922..21529eb1a 100644
--- a/pyload/plugins/addons/MultiHoster.py
+++ b/pyload/plugins/addons/MultiHoster.py
@@ -81,9 +81,9 @@ class MultiHoster(Addon):
self.addHoster(account)
@AddEventListener("account:updated")
- def refreshAccount(self, plugin, loginname):
+ def refreshAccount(self, acc):
- account = self.core.accountManager.getAccount(plugin, loginname)
+ account = self.core.accountManager.getAccount(acc.plugin, acc.loginname)
if isinstance(account, MultiHosterAccount) and account.isUsable():
self.addHoster(account)