closing commit before branching out Multiplex
This commit is contained in:
+4
-1
@@ -19,7 +19,10 @@ export const methods = {
|
||||
|
||||
for(var chan of payload){
|
||||
if((!chan) || (typeof(chan)!='string')) continue
|
||||
if(!this.accessRights.canSubscribe(this.userId, this.roles, chan)) continue
|
||||
if(!this.accessRights.canSubscribe(this.userId, this.roles, chan)) {
|
||||
if(this.debug) console.log('SUB: No rights to this chan!', this.userId, this.roles, chan)
|
||||
continue
|
||||
}
|
||||
// Chat chans are forbidden here
|
||||
if((chan.substr(0,8) == 'userchans') || (chan.substr(0,9) == 'lobbychans')) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user