summaryrefslogtreecommitdiffstats
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
commit2fe69bee8a4207cb83e3e6ce3de74069a6e5f3b1 (patch)
tree99f2f6845df9ed3d96f7a3fdca48310fed1bfd82
parent01d8f1f70a889519fd181f889e070450b8e62c97 (diff)
reaktor.py: allow per-command environment
-rwxr-xr-xReaktor/IRC/reaktor.py2
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]