hexchat/hexchat — pull request #427 by Misdre (2013-02-27 16:03:18+00:00)
Title: banlist: display/clear only bans, exempts, or both

Using the same layout as the dcc windows (radio buttons), we can show only the bans or the exempts (or both) in the ban list windows. The "clear" button acts accordingly, clearing only the bans, the exempts or both.

It should fix issue #303 (without requiring a new option).

Of course I'm willing to fix any issue in my own code - I'm asking for review :) especially since I'm not sure about some things like the viewmode_banlist struct I created.