'break' instead of 'continue' so that things in the event queue get discarded

This commit is contained in:
jesopo 2019-06-17 16:19:20 +01:00
parent 47acd4adc3
commit 5c325d9b23

View file

@ -272,7 +272,7 @@ class Bot(object):
if not self.servers:
self._kill()
self.log.warn("No servers, exiting")
continue
break
kill = False
item = self._event_queue.get(block=True, timeout=None)