Browse Source

Fixed missing function reference in Lua module.

Thomas Davis 12 năm trước cách đây
mục cha
commit
357154c50a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 }