+test, +flausch

This commit is contained in:
Thorsten S
2015-12-20 21:15:16 +01:00
parent 6c3ba11eb6
commit 2d1029882e
4 changed files with 203 additions and 17 deletions

View File

@@ -228,7 +228,7 @@ class UrlBot(IdleBot):
# TODO: check how several commands/plugins
# in a single message behave (also with rate limiting)
reacted = False
for plugin in plugin_storage[ptypes_COMMAND]:
for plugin in filter(lambda p: p.plugin_name == words[1], plugin_storage[ptypes_COMMAND]):
if not plugin_enabled_get(plugin):
continue