diff --git a/app/bot.php b/app/bot.php index 34ba894..8f20b17 100644 --- a/app/bot.php +++ b/app/bot.php @@ -2175,7 +2175,7 @@ DNS-over-HTTPS with IP: if (!empty($data['peers'])) { foreach ($data['peers'] as $peer) { $conf[] = ''; - $conf[] = '[Peer]'; + $conf[] = $peer['# PublicKey'] ? '# [Peer]' : '[Peer]'; foreach ($peer as $k => $v) { $conf[] = "$k = $v"; }