Remove keyword arguments for IRCTelegramd(), use 'settings' dictionary instead
patch 7c308e8fae032971c2bf0598b0c9cb12102c2960
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sun Dec 12 01:06:55 CET 2021
* Remove keyword arguments for IRCTelegramd(), use 'settings' dictionary instead
hunk ./irgramd 19
- def __init__(self, logger, config_direc, address=None, port=None, **settings):
+ def __init__(self, logger, config_direc, settings):
hunk ./irgramd 21
- effective_port = port
+ effective_port = settings['port']
hunk ./irgramd 39
- self.address = address or '127.0.0.1'
+ self.address = settings['address'] or '127.0.0.1'
hunk ./irgramd 89
- irc_server = IRCTelegramd(logger, config_dir, **options)
+ irc_server = IRCTelegramd(logger, config_dir, options)