From a87df81b8541121b5bad1b0e37b955fe47ae1931 Mon Sep 17 00:00:00 2001 From: BanceDev Date: Fri, 7 Feb 2025 14:40:33 -0500 Subject: made constant for lush_lua builtin index --- src/lush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lush.c') diff --git a/src/lush.c b/src/lush.c index 297e373..0e647e9 100644 --- a/src/lush.c +++ b/src/lush.c @@ -1075,7 +1075,7 @@ static int run_command(lua_State *L, char ***commands) { if (ext) { ext++; if (strcmp(ext, "lua") == 0) { - return ((*builtin_func[4])(L, commands)); + return ((*builtin_func[LUSH_LUA])(L, commands)); } } -- cgit v1.2.3-59-g8ed1b