From fb9144a7158d5c12ee6da5c90729ea2a68f2a834 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 9 Jan 2017 21:12:35 -0800 Subject: [PATCH] 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. --- protocols/clientbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/clientbot.py b/protocols/clientbot.py index 7d8754b..4516d79 100644 --- a/protocols/clientbot.py +++ b/protocols/clientbot.py @@ -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: