more db work!

This commit is contained in:
Luke Rogers 2014-02-15 19:17:53 +13:00
parent 99487b66c6
commit 91b6d1d8f1
3 changed files with 12 additions and 7 deletions

View file

@ -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):