From afe9ec359d829dab050230060cd5d61e3ddc787a Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 5 Apr 2020 12:47:19 +0100 Subject: [PATCH] update ircstates to 0.8.2 --- ircrobots/sasl.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ircrobots/sasl.py b/ircrobots/sasl.py index 4ed556a..1fc898f 100644 --- a/ircrobots/sasl.py +++ b/ircrobots/sasl.py @@ -103,7 +103,7 @@ class SASLContext(ServerContext): f"(we want: {mechanisms} " f"server has: {server_mechs})") - if not self.server.available_caps["sasl"] is None: + if self.server.available_caps["sasl"]: # CAP v3.2 tells us what mechs it supports available = self.server.available_caps["sasl"].split(",") match = _common(available) diff --git a/requirements.txt b/requirements.txt index 6810584..ada0bb5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -ircstates ==0.8.1 +ircstates ==0.8.2 asyncio-throttle ==1.0.1 dataclasses ==0.6