3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

Revert "relay: remove ENDBURST hook (is this needed anymore?)"

This reverts commit 4a9a29e095.
This commit is contained in:
James Lu 2015-09-28 18:15:56 -07:00
parent 630aa83084
commit 55b642ea30

View File

@ -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: