diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-05-21 17:02:04 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-05-21 17:02:04 +0200 |
commit | aea18977859553f29903ce620053cbcdcb77064b (patch) | |
tree | af65d94088279631cab8abc1b468203375aa174c /module/remote/wsbackend/AsyncHandler.py | |
parent | Merge branch 'stable' (diff) | |
download | pyload-aea18977859553f29903ce620053cbcdcb77064b.tar.xz |
fixed bug in asynchandler
Diffstat (limited to 'module/remote/wsbackend/AsyncHandler.py')
-rw-r--r-- | module/remote/wsbackend/AsyncHandler.py | 3 |
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 |