From ef76496d01afae9836c191b475e2cc24d2a5504a Mon Sep 17 00:00:00 2001 From: Eduardo Dantas Date: Sat, 2 Dec 2023 15:39:57 -0300 Subject: [PATCH] docs: change server release version to 3.1.2 and move log to debug --- src/core.hpp | 2 +- src/lua/functions/lua_functions_loader.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.hpp b/src/core.hpp index aea1993b262..67262257a32 100644 --- a/src/core.hpp +++ b/src/core.hpp @@ -14,7 +14,7 @@ static constexpr auto AUTHENTICATOR_PERIOD = 30U; // SERVER_MAJOR_VERSION is the actual full version of the server, including minor and patch numbers. // This is intended for internal use to identify the exact state of the server (release) software. -static constexpr auto SERVER_RELEASE_VERSION = "3.1.1"; +static constexpr auto SERVER_RELEASE_VERSION = "3.1.2"; static constexpr auto CLIENT_VERSION = 1321; #define CLIENT_VERSION_UPPER (CLIENT_VERSION / 100) diff --git a/src/lua/functions/lua_functions_loader.hpp b/src/lua/functions/lua_functions_loader.hpp index 90285daffa1..17495cd2e63 100644 --- a/src/lua/functions/lua_functions_loader.hpp +++ b/src/lua/functions/lua_functions_loader.hpp @@ -68,7 +68,7 @@ class LuaFunctionsLoader { // If there is overflow, we return the value 0 if constexpr (std::is_integral_v && std::is_unsigned_v) { if (number < 0) { - g_logger().warn("[{}] overflow, setting to default signed value (0)", __FUNCTION__); + g_logger().debug("[{}] overflow, setting to default signed value (0)", __FUNCTION__); number = T(0); } }