mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 00:39:15 +02:00
command parsing is moving to lua
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ void run_lua(char *str, char *cmd_output) {
|
||||
int top = lua_gettop(L);
|
||||
|
||||
char path[128];
|
||||
snprintf(path, sizeof(path), "%s/.command95.lua", getenv("HOME"));
|
||||
snprintf(path, sizeof(path), "%s/.rds95.command.lua", getenv("HOME"));
|
||||
if (luaL_dofile(L, path) != LUA_OK) {
|
||||
const char *err = lua_tostring(L, -1);
|
||||
fprintf(stderr, "Lua error: %s\n", err);
|
||||
|
||||
Reference in New Issue
Block a user