You need to ensure there is no possible conflict of interest between the offer you've been made and the work you do at your current employment. It is best to request permission from your employer to see if they have any reservations, and if they don't, you can take up the offer.