summaryrefslogtreecommitdiffstats
path: root/pyload/threads/ThreadManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/threads/ThreadManager.py')
-rw-r--r--pyload/threads/ThreadManager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/threads/ThreadManager.py b/pyload/threads/ThreadManager.py
index 0044ebcb2..086e8ba51 100644
--- a/pyload/threads/ThreadManager.py
+++ b/pyload/threads/ThreadManager.py
@@ -202,7 +202,7 @@ class ThreadManager:
ip = self.getIP()
- self.core.addonManager.beforeReconnecting(ip)
+ self.core.evm.dispatchEvent("reconnect:before", ip)
self.log.debug("Old IP: %s" % ip)
@@ -219,7 +219,7 @@ class ThreadManager:
reconn.wait()
sleep(1)
ip = self.getIP()
- self.core.addonManager.afterReconnecting(ip)
+ self.core.evm.dispatchEvent("reconnect:after", ip)
self.log.info(_("Reconnected, new IP: %s") % ip)