No it would not have mattered if he said the other word I can't stand either. He could have been provoked. I'm not questioning him being provoked or not.
I had a bf who was black who said that word all the time the word with an a at the end I was able to get him to stop both words shouldn't be...