From ccfc2f601d44534fc51de00848e20391f46e4a3a Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 9 Jan 2017 21:12:13 -0800 Subject: [PATCH] clientbot: explicitly send /names after join (#388) --- protocols/clientbot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocols/clientbot.py b/protocols/clientbot.py index 54fa9f0..7d8754b 100644 --- a/protocols/clientbot.py +++ b/protocols/clientbot.py @@ -139,7 +139,8 @@ class ClientbotWrapperProtocol(Protocol): # rely on the /NAMES reply to sync it up properly. if self.irc.pseudoclient and client == self.irc.pseudoclient.uid: self.irc.send('JOIN %s' % channel) - # Send a /who request right after + # Send /names and /who requests right after + self.irc.send('NAMES %s' % channel) self.irc.send('WHO %s' % channel) else: self.irc.channels[channel].users.add(client)