From 4f91ab9cff64ddb8ccb5c392ab61aa49046d0405 Mon Sep 17 00:00:00 2001 From: neru Date: Thu, 9 Apr 2026 23:11:55 -0300 Subject: [PATCH] fix: prevent log spam on rel builds --- src/unlocker/spoofing.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/unlocker/spoofing.cpp b/src/unlocker/spoofing.cpp index 619a285..4799015 100644 --- a/src/unlocker/spoofing.cpp +++ b/src/unlocker/spoofing.cpp @@ -522,13 +522,17 @@ void Spoofer::onBloodweb(std::string& body, std::string& respHeaders) respHeaders = std::regex_replace(respHeaders, statusRegex, "HTTP/1.1 200"); body = mock.dump(); +#ifdef _DEBUG Log::verbose("Spoofed bloodweb request for unowned character."); +#endif return; } modifyCharacterData(doc); body = doc.dump(); +#ifdef _DEBUG Log::verbose("Spoofed bloodweb items for owned character"); +#endif } /*