Remove empty +z channels when the +z is removed.
authorMichael Poole <mdpoole@troilus.org>
Tue, 9 Mar 2010 02:52:46 +0000 (21:52 -0500)
committerMichael Poole <mdpoole@troilus.org>
Tue, 9 Mar 2010 02:52:46 +0000 (21:52 -0500)
commit9d88567cc1d3ab44e0eeba3f34eb63001ecb059d
tree1c20d995cd1afcae441dc12ea398cc47b6453479
parent09b1a1251d05ac8492047b96f5c7c16da8932adc
Remove empty +z channels when the +z is removed.

src/proto-p10.c (dead_channels): New variable.
  (parse_line): Release any dead channels after each command.
  (mod_chanmode_parse): Queue -z'ed channels to be released.
src/proto-p10.c