diff --git a/src/LuaEngine/GlobalMethods.h b/src/LuaEngine/GlobalMethods.h index f42922a..00158e8 100644 --- a/src/LuaEngine/GlobalMethods.h +++ b/src/LuaEngine/GlobalMethods.h @@ -1273,7 +1273,7 @@ namespace LuaGlobalFunctions } template - int DBQueryAsync(lua_State* L, DatabaseWorkerPool& db) + static int DBQueryAsync(lua_State* L, DatabaseWorkerPool& db) { const char* query = Eluna::CHECKVAL(L, 1); luaL_checktype(L, 2, LUA_TFUNCTION);