diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2010-05-02 21:18:09 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2010-05-02 21:19:21 +0200 |
commit | d537d4b69b4547814f2d01bc18ce2c472b978647 (patch) | |
tree | 444f07b95e0e2333f9d5d264a8917dfbd7230f6a /modules/help.py | |
parent | 0277a779c9dff841e04a08a5c39fe07faa92cfe8 (diff) | |
download | curunir-d537d4b69b4547814f2d01bc18ce2c472b978647.tar curunir-d537d4b69b4547814f2d01bc18ce2c472b978647.zip |
Added log module
Diffstat (limited to 'modules/help.py')
-rw-r--r-- | modules/help.py | 2 |
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) |