Ok, the title is silly as I am not sure how to formulate it.
This is the case. A very cool guy, programmer, introduced me to his client and asked that I code something for his client, while he will stay focused on his own work on that software. I issues invoices to this guy (NOT his client!), and he paid all my invoices. The most important fact is that he DID not take any percentage on my work, he just passed my invoices.
Then he asked me to stop the work because the client is refusing to reimburse him my costs. I stopped work.
Now the client is asking me directly to continue work, but he still did not pay this cool guy.
I am thinking to either not reply to this client or to tell him that we can work only after he pays off the cool guy. Is this bad business decision? Should I be fair to my fellow programmer how connected me to this client on the first place or I should be an asshole and accept the work?
This is a question on morality. And should the programmers stick together in situations like this.
PS. I am not starving so it is not mandatory I accept the continuation of work in this project. It would be good, of course, and it would secure the stable income for this year.
PPS. Please do not reply with things like "you should not work for this client as he may trick you as well". This will not happen because I know how to work in cases like this. My fellow programmer was too naive and got himself into problems.