From c20c14422267a153127b7e438d4921202acac109 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 21 Jan 2017 12:01:41 -0800 Subject: [PATCH] automode, relay: remove unused imports --- plugins/automode.py | 3 --- plugins/relay.py | 1 - 2 files changed, 4 deletions(-) diff --git a/plugins/automode.py b/plugins/automode.py index 620d524..5d9b64d 100644 --- a/plugins/automode.py +++ b/plugins/automode.py @@ -3,8 +3,6 @@ automode.py - Provide simple channel ACL management by giving prefix modes to us hostmasks or exttargets. """ import collections -import threading -import json from pylinkirc import utils, conf, world, structures from pylinkirc.log import log @@ -28,7 +26,6 @@ db = datastore.store default_permissions = {"$ircop": ['automode.manage.relay_owned', 'automode.sync.relay_owned', 'automode.list']} - def main(irc=None): """Main function, called during plugin loading at start.""" diff --git a/plugins/relay.py b/plugins/relay.py index ca30cef..c908b74 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -1,5 +1,4 @@ # relay.py: PyLink Relay plugin -import pickle import time import threading import string