check for errors when parsing PRIVMSGs