Add a ban command to IRC

Categories

(Chat Core :: IRC, enhancement)

This is the core/back-end of Instantbird and Thunderbird chat (all code in the chat/ directory). This includes the JavaScript protocol implementations, our custom protocols that are not part of libpurple, and the purplexpcom library which allows the use of libpurple from scriptable XPCOM (XUL/JS).

I always forget the command to ban people (/mode <channel> +b <nickname>!<user>@<server-ish>), I'd really like a /ban command which takes just the <nickname>!<user>@<server-ish>.
We could also kick this user if they're in the channel. (Although Mook doesn't like that idea)
Potentially useful: http://www.unrealircd.com/files/docs/unreal32docs.html#feature_bantypes