From f83cc3ad8afaa122867270a9b1255295e902c422 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 18 Jun 2018 18:10:59 -0700 Subject: More streamlining and cleanup. --- nomsu.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'nomsu.lua') 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 -- cgit v1.2.3