mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
clientbot: don't send /NAMES on join, it isn't needed
This commit is contained in:
parent
85f283c5f8
commit
55f50eb251
@ -161,9 +161,7 @@ class ClientbotWrapperProtocol(IRCCommonProtocol):
|
|||||||
# rely on the /NAMES reply to sync it up properly.
|
# rely on the /NAMES reply to sync it up properly.
|
||||||
if self.pseudoclient and client == self.pseudoclient.uid:
|
if self.pseudoclient and client == self.pseudoclient.uid:
|
||||||
self.send('JOIN %s' % channel)
|
self.send('JOIN %s' % channel)
|
||||||
# Send /names and /who requests right after
|
|
||||||
self.send('MODE %s' % channel)
|
self.send('MODE %s' % channel)
|
||||||
self.send('NAMES %s' % channel)
|
|
||||||
self.send('WHO %s' % channel)
|
self.send('WHO %s' % channel)
|
||||||
else:
|
else:
|
||||||
self.channels[channel].users.add(client)
|
self.channels[channel].users.add(client)
|
||||||
|
Loading…
Reference in New Issue
Block a user