znc/znc — Issue #83: enablechannel doesn't work proper 
Author: Un1matr1x
Created: 2011-10-27 15:54:35+00:00
State: open

ZNC 0.202

After asking psychon to make the "Disable"-Setting for Channels access & change-able via webadmin he gave me http://sprunge.us/GfYN?diff for testing. The patch worked as expected but I found a general bug for disabled channels. If you can access the channel again (f.e. no more invite only or a removed ban) and you enable the channel ZNC try to access the chan but will give up with "<*status> The channel #ABC could not be joined, disabling it." even if znc could have join (tested with a /join #abc shortly after the message)
normaly i didn't recognise this because i hade "enough" JoinTrys and did /znc enablechan * and then a jump after a netsplite.

if you want to see how i tested take a look at http://pastie.org/2768274