mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
Revert "relay: remove ENDBURST hook (is this needed anymore?)"
This reverts commit 4a9a29e095
.
This commit is contained in:
parent
630aa83084
commit
55b642ea30
@ -989,6 +989,11 @@ def handle_invite(irc, source, command, args):
|
||||
remotechan)
|
||||
utils.add_hook(handle_invite, 'INVITE')
|
||||
|
||||
def handle_endburst(irc, numeric, command, args):
|
||||
if numeric == irc.uplink:
|
||||
initializeAll(irc)
|
||||
utils.add_hook(handle_endburst, "ENDBURST")
|
||||
|
||||
def handle_disconnect(irc, numeric, command, args):
|
||||
for k, v in relayusers.copy().items():
|
||||
if irc.name in v:
|
||||
|
Loading…
Reference in New Issue
Block a user