A person getting roasted and then becomes salty due to the roast. This is the same process that is used to make peanuts, roast then salt, hence the name peanut
due to the roast and his reaction, you could say he was a bit of a peanut