[core] Fix shutdown errors

Origin's constructor was changed for IRCv3 tags, so things that made
Origin objects had to be changed.