He was also the one who talked Buffy into going after Riley! Although I personally think it was bad advice, he was still sweet! Why, oh why couldn't he have been so sweet about Angel? Angel (not counting Angelus & his soul-less antics) never did anything to hurt Buffy like Riley did & he accepted that Buffy was stronger than him etc - anyway, I'll stop going off on a tangent!
My point is, Xander is the guy who can fix things and make people feel better!