mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	inspircd: set a name on endburstf() threads
This commit is contained in:
		
							parent
							
								
									8b771f6d28
								
							
						
					
					
						commit
						64f05bd28b
					
				@ -366,7 +366,7 @@ class InspIRCdProtocol(TS6BaseProtocol):
 | 
			
		||||
            self._send_with_prefix(sid, 'ENDBURST')
 | 
			
		||||
 | 
			
		||||
        if endburst_delay:
 | 
			
		||||
            threading.Thread(target=endburstf).start()
 | 
			
		||||
            threading.Thread(target=endburstf, name="protocols/inspircd delayed ENDBURST thread for %s@%s" % (sid, self.name)).start()
 | 
			
		||||
        else:  # Else, send burst immediately
 | 
			
		||||
            self._send_with_prefix(sid, 'ENDBURST')
 | 
			
		||||
        return sid
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user