Moved every irssi-specific stuff to bot.c