From 427dc069ca0997a701212675616ca0defa975f27 Mon Sep 17 00:00:00 2001 From: mercury Date: Sun, 11 Jun 2023 17:23:12 +0400 Subject: [PATCH] improve status wg --- app/bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index f639345..628c3b4 100644 --- a/app/bot.php +++ b/app/bot.php @@ -1647,7 +1647,7 @@ DNS-over-HTTPS with IP: foreach ($conf['peers'] as $k => $v) { if (empty($v['# PublicKey'])) { preg_match_all('~([0-9.]+\.?)\s(\w+)~', $v['status']['transfer'], $m); - $tr = $m[0] ? " {$m[1][0]}↑{$m[2][0]} {$m[1][1]}↓{$m[2][1]}" : ''; + $tr = $m[0] ? "{$m[1][1]}↓{$m[2][1]} {$m[1][0]}↑{$m[2][0]}" : ''; } $t = [ 'name' => $this->getName($v),