A MAN who thought he was messaging a 13-year-old girl with sex chat has been sentenced to three years in prison after he was caught out by paedophile hunters.