mirror of
https://github.com/jlu5/PyLink.git
synced 2025-05-06 06:37:22 +02:00
clientbot: always add channels to users' channel lists in names reply
Do this regardless of whether the user is already added to the channel's user list/kick queue, since those are tracked separately. Closes #388.
This commit is contained in:
parent
ccfc2f601d
commit
fb9144a715
@ -635,7 +635,7 @@ class ClientbotWrapperProtocol(Protocol):
|
|||||||
if (idsource not in self.irc.channels[channel].users) or (idsource in \
|
if (idsource not in self.irc.channels[channel].users) or (idsource in \
|
||||||
self.kick_queue.get(channel, ([],))[0]):
|
self.kick_queue.get(channel, ([],))[0]):
|
||||||
names.add(idsource)
|
names.add(idsource)
|
||||||
self.irc.users[idsource].channels.add(channel)
|
self.irc.users[idsource].channels.add(channel)
|
||||||
|
|
||||||
# Process prefix modes
|
# Process prefix modes
|
||||||
for char in name:
|
for char in name:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user