changeset 1177:26533dd4cd09

add Shell_mod.env
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 12 Feb 2018 19:30:27 -0700
parents 79b1e9ffd0c0
children 49cf706c326a
files src/luan/modules/http/tools/Shell_mod.luan
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/modules/http/tools/Shell_mod.luan	Mon Feb 12 15:19:00 2018 -0700
+++ b/src/luan/modules/http/tools/Shell_mod.luan	Mon Feb 12 19:30:27 2018 -0700
@@ -26,6 +26,7 @@
 
 local history = ""
 local env = {}
+Shell_mod.env = env
 
 local fns = {}
 
@@ -63,7 +64,6 @@
 
 local function get_session(session_id)
 	return Thread.global_callable("shell.session"..session_id,timeout,fns)
---	return fns
 end
 
 local function remove_session(session_id)