Fix channelallow

I copy-pasted the "friends" features because the code was fairly
similar. I should've, of course, also changed the function names.