mirror of
https://github.com/craigerl/aprsd.git
synced 2025-04-13 23:18:44 -04:00
switch command characters for query plugin
This commit is contained in:
parent
1763e94f93
commit
e7f2ebf17e
@ -22,7 +22,7 @@ class QueryPlugin(plugin.APRSDPluginBase):
|
||||
searchstring = "^" + self.config["ham"]["callsign"] + ".*"
|
||||
# only I can do admin commands
|
||||
if re.search(searchstring, fromcall):
|
||||
r = re.search(r"^\?-\*", message)
|
||||
r = re.search(r"^\?[rR].*", message)
|
||||
if r is not None:
|
||||
if len(tracker) > 0:
|
||||
reply = "Resend ALL Delayed msgs"
|
||||
@ -33,7 +33,7 @@ class QueryPlugin(plugin.APRSDPluginBase):
|
||||
LOG.debug(reply)
|
||||
return reply
|
||||
|
||||
r = re.search(r"^\?-[fF]!", message)
|
||||
r = re.search(r"^\?[fF].*", message)
|
||||
if r is not None:
|
||||
reply = "Deleting ALL Delayed msgs."
|
||||
LOG.debug(reply)
|
||||
|
Loading…
Reference in New Issue
Block a user