aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2014-04-20 12:24:45 +0200
committertv <tv@nomic.retiolum>2014-04-20 12:24:45 +0200
commitc16a558704572fc120244b912b9d4c2e4e2a1c3b (patch)
tree46036b2ba2be7236ec0057894286c49ed94896db
parent6d6909366b3aeec732c0109fb3922ae265d4bb61 (diff)
reaktor.py: allow per-command environment
-rwxr-xr-xIRC/reaktor.py2
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]