From d537d4b69b4547814f2d01bc18ce2c472b978647 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 2 May 2010 21:18:09 +0200 Subject: Added log module --- modules/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/help.py') 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) -- cgit v1.2.3