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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user