Skip to content

Commit

Permalink
docs: change server release version to 3.1.2 and move log to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Dec 2, 2023
1 parent 5f11908 commit ef76496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/lua/functions/lua_functions_loader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class LuaFunctionsLoader {
// If there is overflow, we return the value 0
if constexpr (std::is_integral_v<T> && std::is_unsigned_v<T>) {
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);
}
}
Expand Down

0 comments on commit ef76496

Please sign in to comment.