Most states allow employers to institute a more general ban on moonlighting as part of company policy. In these situations, working a second job is against company policy, which might provide just cause to fire the employee even if it does not affect their job performance or your business interests.