Skip to content
Snippets Groups Projects
Commit 4c122aef authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix inverted logic for comma-requirement in new user location

This was broken one year ago in Commit 9db5d2a2

Thanks for the report (just now) about this bug Max!
parent e675cd66
No related branches found
No related tags found
No related merge requests found
Pipeline #5212 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment