Ireland captain Johnny Sexton has sidestepped a lengthy ban after swearing at match officials, leaving him available for the Rugby World Cup in France.