summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-01 07:45:36 +0200
committerdefault <nobody@localhost>2022-10-01 07:45:36 +0200
commit3797355f943d5e2ece5a4ed6c153c295c19f1734 (patch)
treefc664ffeea847894823dc745ed18105e5975af21 /data.c
parent8e27f1d711d97b58b8886e579b6d9b27fc2348fa (diff)
New MUTE web action.
Diffstat (limited to 'data.c')
-rw-r--r--data.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/data.c b/data.c
index 4aba816..9051810 100644
--- a/data.c
+++ b/data.c
@@ -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 */
{