diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-11 19:23:55 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-11 19:23:55 -0700 |
| commit | c26db225f3d27d3cea6353246d816b02ff4f2900 (patch) | |
| tree | 22995bd62da4f067cac21421234d54ec49e0beb1 /core.moon | |
| parent | e0d39996becc7ae379bae2298ee3294eb7c7c802 (diff) | |
working towards moving more code into nomic.
Diffstat (limited to 'core.moon')
| -rwxr-xr-x | core.moon | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
