aboutsummaryrefslogtreecommitdiffstats
path: root/src/lush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lush.c')
-rw-r--r--src/lush.c2
1 files changed, 1 insertions, 1 deletions
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));
}
}