make hide_download_commands configurable

This commit is contained in:
Martin Michelsen
2023-12-24 22:50:33 -08:00
parent 84ed80365c
commit ad32c0a986
7 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -1135,7 +1135,7 @@ static void on_93_BB(shared_ptr<Client> c, uint16_t, uint32_t, string& data) {
// command.
on_login_complete(c);
} else {
} else if (s->hide_download_commands) {
// The BB data server protocol is fairly well-understood and has some large
// commands, so we omit data logging for clients on the data server.
c->log.info("Client is in the BB data server phase; disabling command data logging for the rest of this client\'s session");