From: Christian Heller Date: Thu, 21 Aug 2025 02:46:35 +0000 (+0200) Subject: Fix mismatches on string param comparisons. X-Git-Url: https://plomlompom.com/repos/error?a=commitdiff_plain;h=256db09adfda4634c4058f10a3dc63880f2ea6f3;p=ircplom Fix mismatches on string param comparisons. --- diff --git a/ircplom/client.py b/ircplom/client.py index c32e755..a018e6e 100644 --- a/ircplom/client.py +++ b/ircplom/client.py @@ -805,6 +805,8 @@ class Client(ABC, ClientQueueMixin): return None to_return += [result] return tuple(to_return) + if isinstance(ex_tok, str): + return msg_tok if msg_tok == ex_tok else None if ex_tok is _MsgTok.NONE: return msg_tok if msg_tok == '' else None if ex_tok is _MsgTok.SERVER: