They can do whatever they want. One should be ashamed to be overcompensated in the context of a non-profit, because they're leaching from an organization designed to do good. A competitive dev salary is probably nowhere near being overcompensated, but a multi-million dollar exec salary almost certainly is.