Skip to content
Snippets Groups Projects
Commit 3c84eb4e 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 e631451e

Thanks for the report (just now) about this bug Max!
parent 13a381c9
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -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