diff --git a/protocols/inspircd.py b/protocols/inspircd.py index b022cc3..7277bd9 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -366,7 +366,9 @@ class InspIRCdProtocol(TS6BaseProtocol): self._send_with_prefix(sid, 'ENDBURST') if endburst_delay: - threading.Thread(target=endburstf, name="protocols/inspircd delayed ENDBURST thread for %s@%s" % (sid, self.name)).start() + t = threading.Thread(target=endburstf, name="protocols/inspircd delayed ENDBURST thread for %s@%s" % (sid, self.name)) + t.daemon = True + t.start() else: # Else, send burst immediately self._send_with_prefix(sid, 'ENDBURST') return sid