From 8f91da7c2fd1c22c77b8bb7ed9c8ff68dab5b097 Mon Sep 17 00:00:00 2001 From: grunfink Date: Thu, 26 Mar 2026 15:32:28 +0100 Subject: Increased some debug level in error users. These are very annoying in instances that don't have a prefix, as fuckers are trying PHP and other vulnerabilities non-stop. --- data.c | 2 +- html.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data.c b/data.c index e022937..0ff102e 100644 --- a/data.c +++ b/data.c @@ -316,7 +316,7 @@ int user_open(snac *user, const char *uid) } } else - srv_debug(1, xs_fmt("invalid user '%s'", uid)); + srv_debug(2, xs_fmt("invalid user '%s'", uid)); if (!ret) user_free(user); diff --git a/html.c b/html.c index f07be9c..51d64ed 100644 --- a/html.c +++ b/html.c @@ -4586,7 +4586,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; - srv_debug(1, xs_fmt("html_get_handler bad user %s %d", xs_or(uid, "(null)"), status)); + srv_debug(2, xs_fmt("html_get_handler bad user '%s' %d", xs_or(uid, "(null)"), status)); return status; } -- cgit