From 56be5c89d8121432478f58a886be5aee77a34866 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 2 Jun 2008 13:52:54 +0000 Subject: First real shot at lua validation. --- client/lua.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/lua.cc') 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; -- cgit v1.2.3