Taking a shot in the dark here, but the [trusted] section is at the very bottom of mIRC.ini (at least in my case).
Maybe there was no newline or something like that, and the entries got stuck together. Might as well be a non-mIRC issue where that newline was added/removed or even transformed into a LF-only newline, which in turn trips up mIRC?