Fixed num_permitted_opens not enough caused request denied

i think num_permitted_opens and num_adm_permitted_opens are both variable used to set valid number be opened by each channel.

ANY of them is not zero, we should create a connect for them. 

So the condition in the code `!permit || !permit_adm` should be replaced by `!permit && !permit_adm`