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:
c1705be
)
Add missing 433 handler.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 2 Sep 2025 05:37:23 +0000
(07:37 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 2 Sep 2025 05:37:23 +0000
(07:37 +0200)
ircplom/msg_parse_expectations.py
patch
|
blob
|
history
diff --git
a/ircplom/msg_parse_expectations.py
b/ircplom/msg_parse_expectations.py
index 0f2e26a0ae9c8a8ccb763ffe335300273c77c937..dd75c9c2af04996fff88a3d8011dc07375d9d136 100644
(file)
--- a/
ircplom/msg_parse_expectations.py
+++ b/
ircplom/msg_parse_expectations.py
@@
-236,6
+236,11
@@
MSG_EXPECTATIONS += [
((MsgTok.NICKNAME, 'set_me_attr:nick'),
MsgTok.NICKNAME, # no need to re-use the bad one
MsgTok.ANY)), # comment
+ _MsgParseExpectation(MsgTok.SERVER,
+ '433', # ERR_NICKNAMEINUSE
+ ('*',
+ (MsgTok.NICKNAME, ':used'),
+ MsgTok.ANY)), # comment
_MsgParseExpectation(MsgTok.SERVER,
'433', # ERR_NICKNAMEINUSE
(MsgTok.NICKNAME, # we rather go for incrementation