summaryrefslogtreecommitdiffstats
path: root/pyload/remote
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/remote')
-rw-r--r--pyload/remote/wsbackend/AsyncHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/remote/wsbackend/AsyncHandler.py b/pyload/remote/wsbackend/AsyncHandler.py
index 88bd371b0..f1c584b7d 100644
--- a/pyload/remote/wsbackend/AsyncHandler.py
+++ b/pyload/remote/wsbackend/AsyncHandler.py
@@ -52,7 +52,7 @@ class AsyncHandler(AbstractHandler):
self.clients = []
self.lock = Lock()
- self.core.evm.addEvent("event", self.add_event)
+ self.core.evm.listenTo("event", self.add_event)
@lock
def on_open(self, req):