mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +01: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 \
|
||||
self.kick_queue.get(channel, ([],))[0]):
|
||||
names.add(idsource)
|
||||
self.irc.users[idsource].channels.add(channel)
|
||||
self.irc.users[idsource].channels.add(channel)
|
||||
|
||||
# Process prefix modes
|
||||
for char in name:
|
||||
|
Loading…
Reference in New Issue
Block a user