diff --git a/src/game/game.cpp b/src/game/game.cpp index cac0b596ebf..b45f60551b2 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -7836,9 +7836,11 @@ void Game::addBestiaryList(uint16_t raceid, std::string name) { } void Game::broadcastMessage(const std::string &text, MessageClasses type) const { - g_logger().info("Broadcasted message: {}", text); - for (const auto &it : players) { - it.second->sendTextMessage(type, text); + if (!text.empty()) { + g_logger().info("Broadcasted message: {}", text); + for (const auto &it : players) { + it.second->sendTextMessage(type, text); + } } }