https://gitlab.synchro.net/main/sbbs/-/commit/c7df44f17c494f7277ac112e
Modified Files:
src/sbbs3/websrvr.cpp
Log Message:
websrvr: skip getuserdat for anonymous sessions in http_logon
Regression from 9e7649fe0: when http_logon is called with usr=NULL
on an anonymous request (session->user.number == 0), getuserdat
legitimately fails because user 0 doesn't exist, which now spams
the log with '!ERROR reading user #0 data' on every anon hit.
Only call getuserdat when there's an actual user number to read.
Co-Authored-By: Claude Opus 4.7 <
noreply@anthropic.com>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)