From 256db09adfda4634c4058f10a3dc63880f2ea6f3 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 21 Aug 2025 04:46:35 +0200 Subject: [PATCH] Fix mismatches on string param comparisons. --- ircplom/client.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.30.2