Browse Source

Fixed missing function reference in Lua module.

Thomas Davis 12 years ago
parent
commit
dee4900ead
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mod_lua.inl

+ 1 - 1
src/mod_lua.inl

@@ -244,7 +244,7 @@ static int lsp_include(lua_State *L)
 static int lsp_cry(lua_State *L)
 {
     struct mg_connection *conn = lua_touserdata(L, lua_upvalueindex(1));
-    cry(conn, "%s", lua_tostring(L, -1));
+    mg_cry(conn, "%s", lua_tostring(L, -1));
     return 0;
 }