combine params.tls and .tls_verify, support pinned certs

This commit is contained in:
jesopo 2022-01-23 16:52:27 +00:00
parent 0a5c774965
commit 5b347f95c9
9 changed files with 85 additions and 34 deletions

View file

@ -25,7 +25,7 @@ class Bot(BaseBot):
async def main():
bot = Bot()
for name, host in SERVERS:
params = ConnectionParams("BitBotNewTest", host, 6697, True)
params = ConnectionParams("BitBotNewTest", host, 6697)
await bot.add_server(name, params)
await bot.run()