From c26db225f3d27d3cea6353246d816b02ff4f2900 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 11 Sep 2017 19:23:55 -0700 Subject: working towards moving more code into nomic. --- core.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core.moon') diff --git a/core.moon b/core.moon index 4c84f66..bb4ba50 100755 --- a/core.moon +++ b/core.moon @@ -71,7 +71,7 @@ g\def {"restrict %fn to %whitelist"}, (vars)=> unless self\check_permission(fn) print "You do not have permission to restrict function: #{fn}" continue - @defs[fn] = whitelist + @defs[fn].whitelist = whitelist g\def {"allow %whitelist to %fn"}, (vars)=> fns = if type(vars.fn) == 'string' then {vars.fn} else vars.fn -- cgit v1.2.3