Custody Agreement

My husband and I had a custody agreement prior to getting married regarding our now 2 year old daughter. We recently seperated. I am wanting to know if the custody agreement we had prior to our marriage is still effective or did it become void when we got married?

It is likely that the agreement is no longer valid, but it would depend on the language of the agreement.