From aa336d8d29e18649c85aa49631b338ea7300fab6 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Thu, 20 Feb 2020 00:57:18 -0800 Subject: [PATCH] remove some debugging stuff --- ReceiveSubcommands.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ReceiveSubcommands.cc b/ReceiveSubcommands.cc index 874bf662..14e23b20 100644 --- a/ReceiveSubcommands.cc +++ b/ReceiveSubcommands.cc @@ -60,19 +60,14 @@ void forward_subcommand(shared_ptr l, shared_ptr c, if (command_is_private(command)) { if (flag >= l->max_clients) { - log(INFO, "[subcommand-debug] skipping forwarding command; flag=%hhX and max_clients=%zu", - flag, l->max_clients); return; } auto target = l->clients[flag]; if (!target) { - log(INFO, "[subcommand-debug] skipping forwarding command; target is missing"); return; } - log(INFO, "[subcommand-debug] forwarding command"); send_command(target, command, flag, p, count * 4); } else { - log(INFO, "[subcommand-debug] not private (%02hhX)", command); send_command_excluding_client(l, c, command, flag, p, count * 4); } }