More surgery to separate the IRSSI stuff from the command subroutines