3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-28 05:29:25 +01:00

inspircd: set a name on endburstf() threads

This commit is contained in:
James Lu 2017-08-08 00:26:32 -07:00
parent 8b771f6d28
commit 64f05bd28b

View File

@ -366,7 +366,7 @@ class InspIRCdProtocol(TS6BaseProtocol):
self._send_with_prefix(sid, 'ENDBURST') self._send_with_prefix(sid, 'ENDBURST')
if endburst_delay: 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 else: # Else, send burst immediately
self._send_with_prefix(sid, 'ENDBURST') self._send_with_prefix(sid, 'ENDBURST')
return sid return sid