Depending how jacked up it is, I don't know that I'd leave it on there...
If I am guessing correct I would say probably just the ending threads are screwed up. As long as the threads where the nut tightens down to are fine than the axle is in no danger. I am willing to even bet whatever the friend did may be fixable