Improved integration with irssi