home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a6df54
)
Fix mismatches on string param comparisons.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 21 Aug 2025 02:46:35 +0000
(
04:46
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 21 Aug 2025 02:46:35 +0000
(
04:46
+0200)
ircplom/client.py
patch
|
blob
|
history
diff --git
a/ircplom/client.py
b/ircplom/client.py
index c32e75540d07cc709645235cda11b5c1130acc51..a018e6ee24d4813a3099afee53652e0dbe75d109 100644
(file)
--- 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: