Suspended jail sentence given to man for assault in pub