From d31d09ce7ec1b3be8062e5e18f3572832f7f50b7 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 21 Jan 2017 11:43:26 -0800 Subject: [PATCH] ServiceBot: remove extra_channels argument from the constructor This is unused and a poor thing to hardcode anyways. --- utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/utils.py b/utils.py index 6441b98..611a9a2 100644 --- a/utils.py +++ b/utils.py @@ -182,8 +182,7 @@ class ServiceBot(): """ def __init__(self, name, default_help=True, default_list=True, - nick=None, ident=None, manipulatable=False, extra_channels=None, - desc=None): + nick=None, ident=None, manipulatable=False, desc=None): # Service name self.name = name @@ -205,7 +204,7 @@ class ServiceBot(): # Track what channels other than those defined in the config # that the bot should join by default. - self.extra_channels = extra_channels or collections.defaultdict(set) + self.extra_channels = collections.defaultdict(set) # Service description, used in the default help command if one is given. self.desc = desc