fix errant reference to IrcChannel object rather than just the name
This commit is contained in:
		
							parent
							
								
									0ea54a5ee2
								
							
						
					
					
						commit
						051e656a82
					
				| @ -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) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user