mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
clientbot: explicitly send /names after join (#388)
This commit is contained in:
parent
602f35cb70
commit
ccfc2f601d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user