diff options
author | tv <tv@nomic.retiolum> | 2014-04-20 12:24:45 +0200 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2014-04-20 12:24:45 +0200 |
commit | 2fe69bee8a4207cb83e3e6ce3de74069a6e5f3b1 (patch) | |
tree | 99f2f6845df9ed3d96f7a3fdca48310fed1bfd82 /Reaktor/IRC/reaktor.py | |
parent | 01d8f1f70a889519fd181f889e070450b8e62c97 (diff) |
reaktor.py: allow per-command environment
Diffstat (limited to 'Reaktor/IRC/reaktor.py')
-rwxr-xr-x | Reaktor/IRC/reaktor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Reaktor/IRC/reaktor.py b/Reaktor/IRC/reaktor.py index b8200398..0b285a3f 100755 --- a/Reaktor/IRC/reaktor.py +++ b/Reaktor/IRC/reaktor.py @@ -62,7 +62,7 @@ class Reaktor(asybot): cwd = getconf('workdir') - env = {} + env = command.get('env', {}) env['_prefix'] = prefix env['_from'] = prefix.split('!', 1)[0] |