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:
92b4bc2
)
Fix erroneous use of EventType (why doesn't mypy complain about any of this?).
master
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 10 Jun 2025 02:35:58 +0000
(
04:35
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 10 Jun 2025 02:35:58 +0000
(
04:35
+0200)
ircplom.py
patch
|
blob
|
history
diff --git
a/ircplom.py
b/ircplom.py
index 19082f63a599ad89f12b7fffab564ce7107a9715..f85b62be1dbc2ae80f8e6226b2219a0edc6ab4a8 100755
(executable)
--- a/
ircplom.py
+++ b/
ircplom.py
@@
-325,7
+325,7
@@
class IrcConnection:
if event.type_ == EventType.SEND:
self._write_line(msg.raw)
elif event.type_ == EventType.RECV:
- if msg.verb ==
EventType.PING
:
+ if msg.verb ==
'PING'
:
self._broadcast(EventType.SEND,
IrcMessage('PONG', [msg.parameters[0]]))
elif msg.verb == 'ERROR'\