fix storage object defaults not being written to disk

This commit is contained in:
Thorsten S
2015-12-21 16:24:56 +01:00
parent d9dff033b5
commit 09a4e0beb1
5 changed files with 121 additions and 9 deletions

View File

@@ -52,8 +52,8 @@ class IdleBot(ClientXMPP):
))
self.hangup()
return False
elif msg_obj['mucnick'] in config.runtimeconf_get("other_bots"):
# not talking to the other bot.
elif msg_obj['mucnick'] in config.runtimeconf_get("other_bots", ()):
self.logger.debug("not talking to the other bot named {}".format( msg_obj['mucnick']))
return False
else:
return True