From 55b642ea302837c45daa41761f89d6451afe6d08 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 28 Sep 2015 18:15:56 -0700 Subject: [PATCH] Revert "relay: remove ENDBURST hook (is this needed anymore?)" This reverts commit 4a9a29e095fc6e5e9f23098e30efe7388ff0276a. --- plugins/relay.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/relay.py b/plugins/relay.py index 3f5a946..8695eb2 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -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: