Joyce I agree with what you did.
For future reference for others who are reading past the resolution part of this. Even if it's agaisnt the company policy to solicite work while on the clock, there isn't anything they can legally do about it, if you decided to take them up on an offer. The only thing management can do is reprimand them for breaking company policy. Even then unless there's been complaints they can't really do anything about it. People have multiple jobs all the time.