aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_main.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-05 18:52:59 +1000
committerDavid Walter Seikel2012-02-05 18:52:59 +1000
commitca174fc7c2b22e902b93ef4183eb1f5235bcb5fa (patch)
tree7e873c1be6b829b7c6ce076867c68e197b41938b /LuaSL/src/LuaSL_main.c
parentDo script quitting differently, using the wire protocol method, which means I... (diff)
downloadSledjHamr-ca174fc7c2b22e902b93ef4183eb1f5235bcb5fa.zip
SledjHamr-ca174fc7c2b22e902b93ef4183eb1f5235bcb5fa.tar.gz
SledjHamr-ca174fc7c2b22e902b93ef4183eb1f5235bcb5fa.tar.bz2
SledjHamr-ca174fc7c2b22e902b93ef4183eb1f5235bcb5fa.tar.xz
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.
Diffstat (limited to 'LuaSL/src/LuaSL_main.c')
-rw-r--r--LuaSL/src/LuaSL_main.c2
1 files changed, 1 insertions, 1 deletions
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)
123 123
124 snprintf(buf, sizeof(buf), "%s/%s.events", path, name); 124 snprintf(buf, sizeof(buf), "%s/%s.events", path, name);
125// PD("Quitting Lua script %s", buf); 125// PD("Quitting Lua script %s", buf);
126 status = sendToChannel(buf, "_LSL.quit()"); 126 status = sendToChannel(buf, "quit()");
127 if (status) 127 if (status)
128 PE("Error trying to kill script %s : %s", buf, status); 128 PE("Error trying to kill script %s : %s", buf, status);
129 } 129 }