Better handling of irssi