Skip to content
Snippets Groups Projects
Commit 5e37bb06 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't prompt to send application netmail to same address twice in a row

This repetition would happen when the hub's address was the same as their
'fido' key value.
parent 0273079b
No related branches found
No related tags found
No related merge requests found
......@@ -800,7 +800,8 @@ if(your.node === temp_node) {
}
if(aborted() || confirm("Come back when you have a permanently-assigned node address"))
exit(0);
} else if(network.fido && confirm("Send a node number application to " + network.fido)) {
} else if(network.fido && network.fido != fidoaddr.to_str(hub)
&& confirm("Send a node number application to " + network.fido)) {
var result = send_app_netmail(network.fido);
if(typeof result !== 'boolean') {
alert(result);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment