Sanity check for sending NodeInfo

Don't send it if we've done so less than 1 min. ago
This commit is contained in:
GUVWAF
2023-02-15 19:31:09 +01:00
parent 5ca3d9169a
commit b7895f7038
4 changed files with 33 additions and 11 deletions

View File

@@ -94,6 +94,9 @@ class MeshModule
* flag */
bool encryptedOk = false;
/* We allow modules to ignore a request without sending an error if they have a specific reason for it. */
bool ignoreRequest = false;
/** If a bound channel name is set, we will only accept received packets that come in on that channel.
* A special exception (FIXME, not sure if this is a good idea) - packets that arrive on the local interface
* are allowed on any channel (this lets the local user do anything).