mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 14:49:28 +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)
|
remotechan)
|
||||||
utils.add_hook(handle_invite, 'INVITE')
|
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):
|
def handle_disconnect(irc, numeric, command, args):
|
||||||
for k, v in relayusers.copy().items():
|
for k, v in relayusers.copy().items():
|
||||||
if irc.name in v:
|
if irc.name in v:
|
||||||
|
Loading…
Reference in New Issue
Block a user