From 55f50eb251354d1d0a228fef2f0dd140d6c3c853 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 20 Aug 2017 17:28:44 -0700 Subject: [PATCH] clientbot: don't send /NAMES on join, it isn't needed --- protocols/clientbot.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/protocols/clientbot.py b/protocols/clientbot.py index 2cf254c..0b80479 100644 --- a/protocols/clientbot.py +++ b/protocols/clientbot.py @@ -161,9 +161,7 @@ class ClientbotWrapperProtocol(IRCCommonProtocol): # rely on the /NAMES reply to sync it up properly. if self.pseudoclient and client == self.pseudoclient.uid: self.send('JOIN %s' % channel) - # Send /names and /who requests right after self.send('MODE %s' % channel) - self.send('NAMES %s' % channel) self.send('WHO %s' % channel) else: self.channels[channel].users.add(client)