diff options
author | default <nobody@localhost> | 2022-10-01 07:45:36 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-01 07:45:36 +0200 |
commit | 3797355f943d5e2ece5a4ed6c153c295c19f1734 (patch) | |
tree | fc664ffeea847894823dc745ed18105e5975af21 /data.c | |
parent | 8e27f1d711d97b58b8886e579b6d9b27fc2348fa (diff) |
New MUTE web action.
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -885,6 +885,13 @@ d_char *history_get(snac *snac, char *id) } +int history_del(snac *snac, char *id) +{ + xs *fn = _history_fn(snac, id); + return unlink(fn); +} + + void enqueue_input(snac *snac, char *msg, char *req, int retries) /* enqueues an input message */ { |