From 0aa7fe7a14790326a9c6cbf4c50b3c87d548b233 Mon Sep 17 00:00:00 2001 From: Craig Lamparter Date: Sun, 10 Jan 2021 14:44:40 -0800 Subject: [PATCH] change query character syntax, don't reply that we're resending stuff --- aprsd/plugins/query.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aprsd/plugins/query.py b/aprsd/plugins/query.py index dfb0f35..cd63c7c 100644 --- a/aprsd/plugins/query.py +++ b/aprsd/plugins/query.py @@ -25,7 +25,7 @@ class QueryPlugin(plugin.APRSDPluginBase): r = re.search(r"^\?[rR].*", message) if r is not None: if len(tracker) > 0: - reply = "Resend ALL Delayed msgs" + reply = messaging.NULL_MESSAGE LOG.debug(reply) tracker.restart_delayed() else: @@ -33,9 +33,9 @@ class QueryPlugin(plugin.APRSDPluginBase): LOG.debug(reply) return reply - r = re.search(r"^\?[fF].*", message) + r = re.search(r"^\?[dD].*", message) if r is not None: - reply = "Deleting ALL Delayed msgs." + reply = "Deleted ALL delayed msgs." LOG.debug(reply) tracker.flush() return reply