From 3a9df57c3977e13771f6ab5d2ab6cd9f15ebab0f Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 14 Jul 2015 23:26:21 -0700 Subject: [PATCH] relay: remove unused relay() function; what was that about? --- plugins/relay.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/plugins/relay.py b/plugins/relay.py index 231b55b..0236bc0 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -469,17 +469,6 @@ def removeChannel(irc, channel): if not utils.isInternalClient(remoteirc, user): relayPart(remoteirc, remotechan, user) -def relay(homeirc, func, args): - """ - - Relays a call to () to every IRC object's protocol - module except the source IRC network's.""" - for name, irc in utils.networkobjects.items(): - if name == homeirc.name: - continue - f = getattr(irc.proto, func) - f(*args) - @utils.add_cmd def create(irc, source, args): """