Skip to content
Snippets Groups Projects
Commit a7ae6787 authored by nickolas360's avatar nickolas360
Browse files

Fix bug with kill_bot in start_thread()

parent c3fcf5dc
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -517,7 +517,7 @@ class IRCBot(object):
with self.bg_thread_lock:
if thread not in self.bg_threads:
return
if exception:
if exception and kill_bot:
self.close_socket()
self.bg_threads.remove(thread)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment