def add_source(self, source):
if not self.cfg.has_section("<STR_LIT>"):<EOL><INDENT>self.cfg.add_section("<STR_LIT>")<EOL><DEDENT>self.cfg.set("<STR_LIT>", source.nick, source.url)<EOL>self.write_config()<EOL>
Adds a new :class:`Source` to the config’s following section.