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:
2a01cc1
)
Don't crash when op leaves channel.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 19 Aug 2025 01:24:57 +0000
(
03:24
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 19 Aug 2025 01:24:57 +0000
(
03:24
+0200)
ircplom/client.py
patch
|
blob
|
history
diff --git
a/ircplom/client.py
b/ircplom/client.py
index 27931bd5792cdc9766ab964261ad636ca28b3879..f3cdc94811cbb83a1c333b868fb35e92f9bd0faf 100644
(file)
--- a/
ircplom/client.py
+++ b/
ircplom/client.py
@@
-572,7
+572,8
@@
class Client(ABC, ClientQueueMixin):
self._db.process_isupport(msg.params[1:-1])
elif msg.match('353') and msg.params[1] == '=': # RPL_NAMREPLY
for user in msg.params[3].split():
- self._db.chan(msg.params[2]).append_completable('users', user)
+ self._db.chan(msg.params[2]).append_completable(
+ 'users', user.lstrip('~&@%+'))
elif msg.match('366'): # RPL_ENDOFNAMES
self._db.chan(msg.params[1]).declare_complete('users')
elif msg.match('372'): # RPL_MOTD