aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/IRCBot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IRCBot.py b/src/IRCBot.py
index 52fc8d71..637a8352 100644
--- a/src/IRCBot.py
+++ b/src/IRCBot.py
@@ -271,6 +271,8 @@ class Bot(object):
while self.running or not self._event_queue.empty():
if not self.servers:
self._kill()
+ self.log.warn("No servers, exiting")
+ continue
kill = False
item = self._event_queue.get(block=True, timeout=None)