Skip to content
Browse files

Actually shut down on exit.

  • Loading branch information...
1 parent 2b8dc6b commit 544926fea563545af73ee16e89c079f9f34874a0 @nelhage committed Sep 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 party-zephyr.py
View
2 party-zephyr.py
@@ -94,7 +94,7 @@ def on_connect(self):
def run_jabber():
bot = BridgeBot(USER, PASS)
- while True:
+ while not SHUTDOWN:
try:
logging.info("Connecting to Jabber...")
bot.serve_forever(connect_callback = bot.on_connect)

0 comments on commit 544926f

Please sign in to comment.
Something went wrong with that request. Please try again.