From ca174fc7c2b22e902b93ef4183eb1f5235bcb5fa Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 5 Feb 2012 18:52:59 +1000 Subject: Fix things so the wire protocol can be functions in the LSL.lua file, and _LSL can go back to being local to the script. --- LuaSL/src/LuaSL_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LuaSL/src/LuaSL_main.c') diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c index c441bc5..5f48c5e 100644 --- a/LuaSL/src/LuaSL_main.c +++ b/LuaSL/src/LuaSL_main.c @@ -123,7 +123,7 @@ static void dirList_quit(const char *name, const char *path, void *data) snprintf(buf, sizeof(buf), "%s/%s.events", path, name); // PD("Quitting Lua script %s", buf); - status = sendToChannel(buf, "_LSL.quit()"); + status = sendToChannel(buf, "quit()"); if (status) PE("Error trying to kill script %s : %s", buf, status); } -- cgit v1.1