UFC star Sean O'Malley has taken a shot at former opponents Aljamain Sterling and Merab Dvalishvili following UFC 310.