remove test!

This commit is contained in:
Thorsten
2015-12-19 22:08:02 +01:00
parent c672ab2fde
commit 0879ce3ac7

View File

@@ -158,12 +158,10 @@ class UrlBot(IdleBot):
@cached @cached
def get_bots_present(room): def get_bots_present(room):
print("test!")
other_bots = conf_load().get("other_bots", ()) other_bots = conf_load().get("other_bots", ())
users = self.plugin['xep_0045'].getRoster(room) users = self.plugin['xep_0045'].getRoster(room)
return set(users).intersection(set(other_bots)) return set(users).intersection(set(other_bots))
def _prevent_panic(message, room): def _prevent_panic(message, room):
"""check other bots, add nospoiler with urls""" """check other bots, add nospoiler with urls"""
if 'http' in message: if 'http' in message: