1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

allow bots to activate plugins, but do not answer them

This commit is contained in:
Thorsten S
2015-12-21 17:03:38 +01:00
parent 5c2f1b82ae
commit d2301d1679
4 changed files with 9 additions and 9 deletions

View File

@@ -52,9 +52,9 @@ class IdleBot(ClientXMPP):
))
self.hangup()
return False
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
# 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