more db work!
This commit is contained in:
parent
99487b66c6
commit
91b6d1d8f1
3 changed files with 12 additions and 7 deletions
|
@ -128,12 +128,12 @@ class Bot(threading.Thread):
|
|||
|
||||
if conf['connection'].get('ssl'):
|
||||
self.connections.append(irc.SSLIRC(name, server, nick, config=conf,
|
||||
port=port, channels=conf['channels'],
|
||||
port=port, logger=self.logger, channels=conf['channels'],
|
||||
ignore_certificate_errors=conf['connection'].get('ignore_cert', True)))
|
||||
self.logger.debug("({}) Created SSL connection.".format(name))
|
||||
else:
|
||||
self.connections.append(irc.IRC(name, server, nick, config=conf,
|
||||
port=port, channels=conf['channels']))
|
||||
port=port, logger=self.logger, channels=conf['channels']))
|
||||
self.logger.debug("({}) Created connection.".format(name))
|
||||
|
||||
def stop(self, reason=None):
|
||||
|
|
Reference in a new issue