diff --git a/src/Components/Modules/RCon.cpp b/src/Components/Modules/RCon.cpp index b0349093..6c5486bd 100644 --- a/src/Components/Modules/RCon.cpp +++ b/src/Components/Modules/RCon.cpp @@ -39,13 +39,13 @@ namespace Components Password.clear(); return; } - - auto* addr = reinterpret_cast(0xA5EA44); + if (Password.empty()) { Logger::Print("You need to be logged in and connected to a server!\n"); } + auto* addr = reinterpret_cast(0xA5EA44); Network::Address target(addr); if (!target.isValid() || target.getIP().full == 0) {