diff --git a/exec/load/cnfdefs.js b/exec/load/cnfdefs.js index 8ec0f184b45806b06327066aa62f43195bd07f99..ea32d9837eadff5d510d5e204d942a4cf703bed4 100644 --- a/exec/load/cnfdefs.js +++ b/exec/load/cnfdefs.js @@ -191,9 +191,9 @@ struct.validation_set_t={ flags2: {bytes:UINT32_T, type:"int"}, flags3: {bytes:UINT32_T, type:"int"}, flags4: {bytes:UINT32_T, type:"int"}, - cdt: {bytes:UINT32_T, type:"int"}, - exempt: {bytes:UINT32_T, type:"int"}, - rest: {bytes:UINT32_T, type:"int"}, + credits: {bytes:UINT32_T, type:"int"}, + exemptions: {bytes:UINT32_T, type:"int"}, + restrictions: {bytes:UINT32_T, type:"int"}, __PADDING__:{bytes:16} }; diff --git a/src/sbbs3/scfglib1.c b/src/sbbs3/scfglib1.c index fbbb2472e4d9876dd8e142a721c1e528ee263693..d847e41b8b58cb6a5f719cef2def6904b9975c43 100644 --- a/src/sbbs3/scfglib1.c +++ b/src/sbbs3/scfglib1.c @@ -213,7 +213,7 @@ BOOL read_main_cfg(scfg_t* cfg, char* error, size_t maxerrlen) SAFECOPY(cfg->scanposts_mod, iniGetString(section, NULL, "scanposts", "", value)); SAFECOPY(cfg->scansubs_mod, iniGetString(section, NULL, "scansubs", "", value)); SAFECOPY(cfg->listmsgs_mod, iniGetString(section, NULL, "listmsgs", "", value)); - SAFECOPY(cfg->textsec_mod, iniGetString(section, NULL, "text_sec", "text_sec", value)); + SAFECOPY(cfg->textsec_mod, iniGetString(section, NULL, "textsec", "text_sec", value)); SAFECOPY(cfg->automsg_mod, iniGetString(section, NULL, "automsg", "automsg", value)); SAFECOPY(cfg->xtrnsec_mod, iniGetString(section, NULL, "xtrnsec", "xtrn_sec", value)); SAFECOPY(cfg->nodelist_mod, iniGetString(section, NULL, "nodelist", "nodelist", value)); diff --git a/src/sbbs3/scfgsave.c b/src/sbbs3/scfgsave.c index 54347967de9ae772cff84fb2b444a463604e663a..ca8ab7c9f15ef39546dca8ec01591c6570ca910a 100644 --- a/src/sbbs3/scfgsave.c +++ b/src/sbbs3/scfgsave.c @@ -245,8 +245,8 @@ BOOL write_main_cfg(scfg_t* cfg, int backup_level) iniSetHexInt(§ion, name, "flags3", cfg->val_flags3[i], NULL); iniSetHexInt(§ion, name, "flags4", cfg->val_flags4[i], NULL); iniSetUInt32(§ion, name, "credits", cfg->val_cdt[i], NULL); - iniSetHexInt(§ion, name, "exempt", cfg->val_exempt[i], NULL); - iniSetHexInt(§ion, name, "rest", cfg->val_rest[i], NULL); + iniSetHexInt(§ion, name, "exemptions", cfg->val_exempt[i], NULL); + iniSetHexInt(§ion, name, "restrictions", cfg->val_rest[i], NULL); strListMerge(&ini, section); free(section); }