This could be tricky since an IRC client would need to know that the mode has already been set in order not to set it. As far as I am aware, there is no way for an IRC client to know this, unless the new IRC server is including this information in numeric 005 with a new token.