diff --git a/src/Components/Modules/Logger.hpp b/src/Components/Modules/Logger.hpp index 8b43704d..2b23ae8b 100644 --- a/src/Components/Modules/Logger.hpp +++ b/src/Components/Modules/Logger.hpp @@ -83,7 +83,7 @@ namespace Components static void PrintFail2Ban(const std::string_view& fmt) { - PrintFail2BanInternal(fmt, std::make_format_args(0)); + PrintFail2BanInternal(fmt, std::make_format_args()); } template diff --git a/src/Components/Modules/Maps.cpp b/src/Components/Modules/Maps.cpp index bdc3d45e..1c76073b 100644 --- a/src/Components/Modules/Maps.cpp +++ b/src/Components/Modules/Maps.cpp @@ -329,7 +329,7 @@ namespace Components else { // Dangerous!! - assert(false, "Arenas refreshed from wrong thread??"); + assert(false && "Arenas refreshed from wrong thread??"); Logger::Print("Tried to refresh arenas from a thread that is NOT the main thread!! This could have lead to a crash. Please report this bug and how you got it!"); } }