DrBotIRC: log when shutting down
This commit is contained in:
		
							parent
							
								
									d5735ce2a7
								
							
						
					
					
						commit
						92555867f5
					
				@ -390,6 +390,7 @@ class DrBotIRC(irclib.IRC):
 | 
				
			|||||||
        connection.quit(msg)
 | 
					        connection.quit(msg)
 | 
				
			||||||
        self.log.info(self.save_config())
 | 
					        self.log.info(self.save_config())
 | 
				
			||||||
        self._xmlrpc_shutdown()
 | 
					        self._xmlrpc_shutdown()
 | 
				
			||||||
 | 
					        self.log.info("Bot shutting down.")
 | 
				
			||||||
        sys.exit()
 | 
					        sys.exit()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def reply(self, connection, event, replystr, stop_responding=False):
 | 
					    def reply(self, connection, event, replystr, stop_responding=False):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user