Commit 0e270c4e authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

New @-codes SEX and GENDERS

SEX is the user's sex/gender
GENDERS is the list of system-supported genders for new users to choose from.
parent bb0d2496
......@@ -540,6 +540,14 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode, bool
if(strcmp(sp, "TMP") == 0)
return useron.tmpext;
if(strcmp(sp, "SEX") == 0) {
safe_snprintf(str, maxlen, "%c",;
return str;
if(strcmp(sp, "GENDERS") == 0) {
return cfg.new_genders;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment