Explorar o código

Fixed missing function reference in Lua module.

Thomas Davis %!s(int64=12) %!d(string=hai) anos
pai
achega
dee4900ead
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 }