From 84f79572b087c125f9adf40c7900c18089269a59 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 3 Jul 2017 20:05:12 +0200 Subject: [PATCH] get channel list to join from settings --- src/ircbot/ircworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ircbot/ircworker.py b/src/ircbot/ircworker.py index af0441cd..916fcbc4 100644 --- a/src/ircbot/ircworker.py +++ b/src/ircbot/ircworker.py @@ -11,7 +11,7 @@ def do_work(): """ config = { 'nick': settings.IRCBOT_NICK, - 'autojoins': [settings.IRCBOT_SCHEDULE_ANNOUNCE_CHANNEL], + 'autojoins': [set(settings.IRCBOT_CHANNELS.values())], 'host': settings.IRCBOT_SERVER_HOSTNAME, 'port': settings.IRCBOT_SERVER_PORT, 'ssl': settings.IRCBOT_SERVER_USETLS,