summaryrefslogtreecommitdiffstats
path: root/modules/help.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/help.py')
-rw-r--r--modules/help.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/help.py b/modules/help.py
index d239f84..71d1a56 100644
--- a/modules/help.py
+++ b/modules/help.py
@@ -12,7 +12,7 @@ class Module(ModuleBase):
if not re.match(r'!help(?:\W|\Z)', message_body):
return
- commands = reduce(lambda l, mod: l + mod.commands(), self.manager.modules, [])
+ commands = reduce(lambda l, mod: l + mod.commands(), self.manager.modules.itervalues(), [])
helpstring = reduce(lambda s, (c, h): s + c + ': ' + h + '\n', commands, '')
reply('Befehle:\n\n' + helpstring)