fix errant reference to IrcChannel object rather than just the name

This commit is contained in:
Brian S. Stephan 2023-03-02 00:15:06 -06:00
parent 0ea54a5ee2
commit 051e656a82
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
1 changed files with 1 additions and 1 deletions

View File

@ -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)