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 | c16a558704572fc120244b912b9d4c2e4e2a1c3b (patch) | |
tree | 46036b2ba2be7236ec0057894286c49ed94896db | |
parent | 6d6909366b3aeec732c0109fb3922ae265d4bb61 (diff) |
reaktor.py: allow per-command environment
-rwxr-xr-x | IRC/reaktor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IRC/reaktor.py b/IRC/reaktor.py index b820039..0b285a3 100755 --- a/IRC/reaktor.py +++ b/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] |