aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-18 18:10:59 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-18 18:11:09 -0700
commitf83cc3ad8afaa122867270a9b1255295e902c422 (patch)
tree6d91f47c05f7173e3e447ae4f1412442edd6f6b2 /nomsu.lua
parenta22de3fdbbebb310a07252bd99b1ca8acb685ea6 (diff)
More streamlining and cleanup.
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/nomsu.lua b/nomsu.lua
index 1ea73ec..f322abf 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -512,7 +512,6 @@ do
if source == nil then
source = nil
end
- assert(type(lua) ~= 'string', "Attempt to run lua string instead of Lua (object)")
local lua_string = tostring(lua)
local run_lua_fn, err = load(lua_string, nil and tostring(source or lua.source), "t", self)
if not run_lua_fn then