mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-24 03:04:05 +01:00
relay: add missing comment to last commit
This commit is contained in:
parent
b667bed1e6
commit
a60e6e7f22
@ -467,6 +467,7 @@ def initialize_channel(irc, channel):
|
||||
log.debug('(%s) relay.initialize_channel: relay pair found to be %s', irc.name, relay)
|
||||
queued_users = []
|
||||
if relay:
|
||||
# Only allow one thread to initialize channels at a time.
|
||||
if relay in channels_init_in_progress and channels_init_in_progress[relay].is_set():
|
||||
log.debug('(%s) relay.initialize_channel: skipping init of %s since another one is in progress', irc.name, relay)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user