]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4077 add missing
authorJeff Lenk <jeff@jefflenk.com>
Wed, 11 Apr 2012 13:17:39 +0000 (08:17 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Wed, 11 Apr 2012 13:17:39 +0000 (08:17 -0500)
src/mod/languages/mod_lua/mod_lua.cpp

index 046bf351dc8d5695a3f0c1c81edcf9aef2dc2fe6..4886ae567e3b5a2dd00cbafde9c80854f8adcd08 100644 (file)
@@ -187,7 +187,7 @@ static int lua_parse_and_execute(lua_State * L, char *input_code)
                                switch_assert(fdup);
                                file = fdup;
                        }
-                       error = luaL_loadfile(L, file) || docall(L, 0, 1, 0);
+                       error = luaL_loadfile(L, file) || docall(L, 0, 0, 0);
                        switch_safe_free(fdup);
                }
        }