mirror of
https://github.com/craigerl/aprsd.git
synced 2025-09-14 04:37:50 -04:00
change query character syntax, don't reply that we're resending stuff
This commit is contained in:
parent
e6dee3a5b0
commit
0aa7fe7a14
@ -25,7 +25,7 @@ class QueryPlugin(plugin.APRSDPluginBase):
|
|||||||
r = re.search(r"^\?[rR].*", message)
|
r = re.search(r"^\?[rR].*", message)
|
||||||
if r is not None:
|
if r is not None:
|
||||||
if len(tracker) > 0:
|
if len(tracker) > 0:
|
||||||
reply = "Resend ALL Delayed msgs"
|
reply = messaging.NULL_MESSAGE
|
||||||
LOG.debug(reply)
|
LOG.debug(reply)
|
||||||
tracker.restart_delayed()
|
tracker.restart_delayed()
|
||||||
else:
|
else:
|
||||||
@ -33,9 +33,9 @@ class QueryPlugin(plugin.APRSDPluginBase):
|
|||||||
LOG.debug(reply)
|
LOG.debug(reply)
|
||||||
return reply
|
return reply
|
||||||
|
|
||||||
r = re.search(r"^\?[fF].*", message)
|
r = re.search(r"^\?[dD].*", message)
|
||||||
if r is not None:
|
if r is not None:
|
||||||
reply = "Deleting ALL Delayed msgs."
|
reply = "Deleted ALL delayed msgs."
|
||||||
LOG.debug(reply)
|
LOG.debug(reply)
|
||||||
tracker.flush()
|
tracker.flush()
|
||||||
return reply
|
return reply
|
||||||
|
Loading…
x
Reference in New Issue
Block a user