aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2026-08-26 08:05:16 +0200
committerdefault <nobody@localhost>2026-08-26 08:05:16 +0200
commitd7fc3d950d4654a3291066fed667f1b7d48e70bb (patch)
treebd3c353caf64678650d0826c28dddde5e98261ea /html.c
parent48aba53ddbca75bfdbda7d224c6d2c315fcd282a (diff)
Use snac_op in grave().
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index f18e233..8f177cc 100644
--- a/html.c
+++ b/html.c
@@ -4717,7 +4717,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
if (!uid || !user_open(&snac, uid)) {
/* invalid user */
- status = grave(uid, 0) ? HTTP_STATUS_GONE : HTTP_STATUS_NOT_FOUND;
+ status = grave(uid, OP_CHECK) ? HTTP_STATUS_GONE : HTTP_STATUS_NOT_FOUND;
srv_debug(2, xs_fmt("html_get_handler bad user '%s' %d", xs_or(uid, "(null)"), status));
return status;
}