summaryrefslogtreecommitdiff
path: root/client/lua.cc
diff options
context:
space:
mode:
authordeva <deva>2008-06-02 13:52:54 +0000
committerdeva <deva>2008-06-02 13:52:54 +0000
commit56be5c89d8121432478f58a886be5aee77a34866 (patch)
treef715e511a5347e7773a1a2a4d2ba886ac6d7e856 /client/lua.cc
parent322a83c48618b2f58e1014daff6f3956af8070ea (diff)
First real shot at lua validation.
Diffstat (limited to 'client/lua.cc')
-rw-r--r--client/lua.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/lua.cc b/client/lua.cc
index 46c8fbd..c803e23 100644
--- a/client/lua.cc
+++ b/client/lua.cc
@@ -42,6 +42,8 @@ LUA::LUA(Variables &variables)
var++;
}
+ // printf("preload: [%s]\n", preload.c_str());
+
int s = luaL_loadbuffer(L, preload.c_str(), preload.size(), "preload");
switch(s) {
case 0: //no errors;