Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

broker - fix subscribe checking on special ..broker chan

  • Loading branch information...
commit e5d1a21332ce3619d48d925901ce1f3411f18678 1 parent 84fd0a9
@rep authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 broker/feedbroker.py
View
5 broker/feedbroker.py
@@ -148,7 +148,10 @@ def io_in(self, data):
self.error('identfail.')
continue
- if not chan in self.subchans:
+ checkchan = chan
+ if chan.endswith('..broker'): checkchan = chan.rsplit('..broker', 1)[0]
+
+ if not checkchan in self.subchans:
self.error('accessfail.')
continue
Please sign in to comment.
Something went wrong with that request. Please try again.