Made set.c API more generic so it's not specific to irc_t structures anymore, but can be used for account_t structures too, for example.