replace direct write with proxy function for future locking

This commit is contained in:
Thorsten S
2015-12-21 10:41:58 +01:00
parent ff11d522b1
commit 0127a9cf26
4 changed files with 14 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ class IdleBot(ClientXMPP):
))
self.hangup()
return False
elif msg_obj['mucnick'] in config.runtime_config_store["other_bots"]:
elif msg_obj['mucnick'] in config.runtimeconf_get("other_bots"):
# not talking to the other bot.
return False
else: