Ah, I had missed that detail.
And the spell doesn't need to be on the spells known list, IIRC. So for the wizard it adds some spontanious casting, for the sorcerer it adds spells known. I'm guessing it favors the sorcerer more, but It's not something I would turn down as a wizard either.