'break' instead of 'continue' so that things in the event queue get discarded
This commit is contained in:
parent
47acd4adc3
commit
5c325d9b23
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ class Bot(object):
|
||||||
if not self.servers:
|
if not self.servers:
|
||||||
self._kill()
|
self._kill()
|
||||||
self.log.warn("No servers, exiting")
|
self.log.warn("No servers, exiting")
|
||||||
continue
|
break
|
||||||
|
|
||||||
kill = False
|
kill = False
|
||||||
item = self._event_queue.get(block=True, timeout=None)
|
item = self._event_queue.get(block=True, timeout=None)
|
||||||
|
|
Loading…
Reference in a new issue