Send a status request when doing /status even if we have a cached value, in case it is out of date

This commit is contained in:
Juhani Krekelä 2019-07-15 20:44:37 +03:00
parent 90c435cfd9
commit cbb4252441
1 changed files with 1 additions and 2 deletions

View File

@ -182,8 +182,7 @@ def handle_user_command(backend, line):
mac = mac_from_name(rest)
if mac in peers:
print('=== ~%s (%s) [%s]' % (peers[mac].nick, peers[mac].status.name, format_mac(mac)))
else:
send_status_request(backend, mac)
send_status_request(backend, mac)
else:
# List all the known peers