summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-08-15 17:21:36 +0200
committerAki <please@ignore.pl>2020-08-15 17:21:36 +0200
commit41cb74fa129f5e18b6c0b99b89933869f09b585c (patch)
treeba478e0c19e9d184fd8cd6e927193c572af3350d /main.c
parent53b5ea2bafca4ea7e9bdcbe55f1ed0a458b270e1 (diff)
downloadplop-41cb74fa129f5e18b6c0b99b89933869f09b585c.zip
plop-41cb74fa129f5e18b6c0b99b89933869f09b585c.tar.gz
plop-41cb74fa129f5e18b6c0b99b89933869f09b585c.tar.bz2
Changed handler loading to be require-like
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index af36c5d..06f44d4 100644
--- a/main.c
+++ b/main.c
@@ -21,7 +21,7 @@ int main(int argc, char ** argv)
return 1; // TODO: Document error codes/print usage information
}
- if (LUA_OK != luaL_dofile(L, argv[2]))
+ if (LUA_OK != load_handler(L, argv[2]))
{
return 2; // TODO: Document error codes/print usage information
}