From c16a558704572fc120244b912b9d4c2e4e2a1c3b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 20 Apr 2014 12:24:45 +0200 Subject: reaktor.py: allow per-command environment --- IRC/reaktor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IRC') 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] -- cgit v1.2.3