From 3c84eb4e434b90583566f24f9fcf69eeea3a5ce3 Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Windows 11)" <rob@synchro.net> Date: Mon, 1 Jan 2024 16:12:37 -0800 Subject: [PATCH] Fix inverted logic for comma-requirement in new user location This was broken one year ago in Commit e631451e Thanks for the report (just now) about this bug Max! --- src/sbbs3/newuser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/newuser.cpp b/src/sbbs3/newuser.cpp index df664fe4b3..46c62c76d0 100644 --- a/src/sbbs3/newuser.cpp +++ b/src/sbbs3/newuser.cpp @@ -236,7 +236,7 @@ BOOL sbbs_t::newuser() bputs(text[EnterYourCityState]); if(getstr(useron.location,LEN_LOCATION,kmode) < 1) continue; - if((cfg.uq&UQ_NOCOMMAS) && strchr(useron.location,',') == NULL) { + if(!(cfg.uq&UQ_NOCOMMAS) && strchr(useron.location,',') == NULL) { bputs(text[CommaInLocationRequired]); useron.location[0]=0; } else -- GitLab