mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 04:02:45 +01:00
clientbot: fix self.connected.set() order
This commit is contained in:
parent
a5e7d76341
commit
06d69aadf7
@ -588,10 +588,10 @@ class ClientbotWrapperProtocol(IRCCommonProtocol):
|
||||
self.send(line)
|
||||
|
||||
# Virtual endburst hook.
|
||||
self.connected.set() # Note, this should always be set before sending ENDBURST
|
||||
if not self.has_eob:
|
||||
self.has_eob = True
|
||||
return {'parse_as': 'ENDBURST'}
|
||||
self.connected.set()
|
||||
|
||||
handle_422 = handle_376
|
||||
|
||||
|
@ -223,7 +223,6 @@ class IRCCommonProtocol(IRCNetwork):
|
||||
log.debug('(%s) handle_005: autodetecting mode %s (%s) as %s', self.name,
|
||||
char, self.prefixmodes[char], modename)
|
||||
|
||||
self.connected.set()
|
||||
|
||||
def _send_with_prefix(self, source, msg, **kwargs):
|
||||
"""Sends a RFC 459-style raw command from the given sender."""
|
||||
|
Loading…
Reference in New Issue
Block a user