From 7a9bda58c235fc0666b1384a879c30e509b3b017 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 29 Jan 2017 11:02:10 +0100 Subject: [PATCH] [RCon] Remove console spam --- src/Components/Modules/RCon.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Components/Modules/RCon.cpp b/src/Components/Modules/RCon.cpp index 8d76aee2..4d734553 100644 --- a/src/Components/Modules/RCon.cpp +++ b/src/Components/Modules/RCon.cpp @@ -106,7 +106,9 @@ namespace Components static std::string outputBuffer; outputBuffer.clear(); +#ifdef DEBUG Logger::Print("Executing RCon request from %s: %s\n", address.getCString(), command.data()); +#endif Logger::PipeOutput([] (std::string output) {