irc.c cleaned up code regarding dialog prompt and incoming PRIVMSGs