From 051e656a8259807a5a8e9706f81bcb992ee88a54 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Thu, 2 Mar 2023 00:15:06 -0600 Subject: [PATCH] fix errant reference to IrcChannel object rather than just the name --- ircbot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircbot/bot.py b/ircbot/bot.py index 5df7258..cfab517 100644 --- a/ircbot/bot.py +++ b/ircbot/bot.py @@ -558,7 +558,7 @@ class IRCBot(irc.client.SimpleIRCClient): for chan in IrcChannel.objects.filter(autojoin=True, server=connection.server_config): log.info("autojoining %s", chan.name) - self.connection.join(chan) + self.connection.join(chan.name) for plugin in IrcPlugin.objects.filter(autoload=True): log.info("autoloading %s", plugin.path)