summaryrefslogtreecommitdiffstats
path: root/module/remote/wsbackend/AsyncHandler.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-05-21 17:02:04 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-05-21 17:02:04 +0200
commitaea18977859553f29903ce620053cbcdcb77064b (patch)
treeaf65d94088279631cab8abc1b468203375aa174c /module/remote/wsbackend/AsyncHandler.py
parentMerge branch 'stable' (diff)
downloadpyload-aea18977859553f29903ce620053cbcdcb77064b.tar.xz
fixed bug in asynchandler
Diffstat (limited to 'module/remote/wsbackend/AsyncHandler.py')
-rw-r--r--module/remote/wsbackend/AsyncHandler.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/remote/wsbackend/AsyncHandler.py b/module/remote/wsbackend/AsyncHandler.py
index d9e302fbb..158033ee8 100644
--- a/module/remote/wsbackend/AsyncHandler.py
+++ b/module/remote/wsbackend/AsyncHandler.py
@@ -78,6 +78,9 @@ class AsyncHandler(AbstractHandler):
event = EventInfo(event, [x.toInfoData() if hasattr(x, 'toInfoData') else x for x in args])
for req in self.clients:
+ # Not logged in yet
+ if not req.api: continue
+
# filter events that these user is no owner of
# TODO: events are security critical, this should be revised later
# TODO: permissions? interaction etc