mirror of
https://github.com/craigerl/aprsd.git
synced 2025-06-25 13:35:20 -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"] + ".*"
|
searchstring = "^" + self.config["ham"]["callsign"] + ".*"
|
||||||
# only I can do admin commands
|
# only I can do admin commands
|
||||||
if re.search(searchstring, fromcall):
|
if re.search(searchstring, fromcall):
|
||||||
r = re.search(r"^\?-\*", 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 = "Resend ALL Delayed msgs"
|
||||||
@ -33,7 +33,7 @@ class QueryPlugin(plugin.APRSDPluginBase):
|
|||||||
LOG.debug(reply)
|
LOG.debug(reply)
|
||||||
return reply
|
return reply
|
||||||
|
|
||||||
r = re.search(r"^\?-[fF]!", message)
|
r = re.search(r"^\?[fF].*", message)
|
||||||
if r is not None:
|
if r is not None:
|
||||||
reply = "Deleting ALL Delayed msgs."
|
reply = "Deleting ALL Delayed msgs."
|
||||||
LOG.debug(reply)
|
LOG.debug(reply)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user