I've worked at a couple places which prohibited moonlighting at similar (read: competing) companies in the same field, or if it threatened to interfere with your duties and obligations to them. Otherwise, moonlighting was permitted, but you had to give the employer notice in advance.