mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-27 12:44:16 +01:00
relay: only call initializeAll on ENDBURST for the uplink
This prevents unnecessary bursts being sent every time a server is introduced on any network.
This commit is contained in:
parent
3f98af6f96
commit
f61ecf6d68
@ -889,6 +889,7 @@ def main():
|
|||||||
thread.start()
|
thread.start()
|
||||||
|
|
||||||
def handle_endburst(irc, numeric, command, args):
|
def handle_endburst(irc, numeric, command, args):
|
||||||
|
if numeric == irc.uplink:
|
||||||
initializeAll(irc)
|
initializeAll(irc)
|
||||||
utils.add_hook(handle_endburst, "ENDBURST")
|
utils.add_hook(handle_endburst, "ENDBURST")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user