Codechange: move passwords in settings to std::string
This commit is contained in:
+13
-8
@@ -70,6 +70,7 @@ SDTC_BOOL = SDTC_BOOL( $var, $flags, $guiflags, $def,
|
||||
SDTC_LIST = SDTC_LIST( $var, $type, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
|
||||
SDTC_OMANY = SDTC_OMANY( $var, $type, $flags, $guiflags, $def, $max, $full, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
|
||||
SDTC_STR = SDTC_STR( $var, $type, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
|
||||
SDTC_SSTR = SDTC_SSTR( $var, $type, $flags, $guiflags, $def, $length, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
|
||||
SDTC_VAR = SDTC_VAR( $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
|
||||
SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
|
||||
SDT_OMANY = SDT_OMANY($base, $var, $type, $flags, $guiflags, $def, $max, $full, $str, $strhelp, $strval, $proc, $from, $to, $load, $cat, $extra, $startup),
|
||||
@@ -3924,35 +3925,39 @@ def = nullptr
|
||||
proc = UpdateClientName
|
||||
cat = SC_BASIC
|
||||
|
||||
[SDTC_STR]
|
||||
[SDTC_SSTR]
|
||||
var = network.server_password
|
||||
type = SLE_STRB
|
||||
type = SLE_STR
|
||||
length = NETWORK_PASSWORD_LENGTH
|
||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||
guiflags = SGF_NETWORK_ONLY
|
||||
def = nullptr
|
||||
proc = UpdateServerPassword
|
||||
cat = SC_BASIC
|
||||
|
||||
[SDTC_STR]
|
||||
[SDTC_SSTR]
|
||||
var = network.rcon_password
|
||||
type = SLE_STRB
|
||||
type = SLE_STR
|
||||
length = NETWORK_PASSWORD_LENGTH
|
||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||
guiflags = SGF_NETWORK_ONLY
|
||||
def = nullptr
|
||||
proc = UpdateRconPassword
|
||||
cat = SC_BASIC
|
||||
|
||||
[SDTC_STR]
|
||||
[SDTC_SSTR]
|
||||
var = network.admin_password
|
||||
type = SLE_STRB
|
||||
type = SLE_STR
|
||||
length = NETWORK_PASSWORD_LENGTH
|
||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||
guiflags = SGF_NETWORK_ONLY
|
||||
def = nullptr
|
||||
cat = SC_BASIC
|
||||
|
||||
[SDTC_STR]
|
||||
[SDTC_SSTR]
|
||||
var = network.default_company_pass
|
||||
type = SLE_STRB
|
||||
type = SLE_STR
|
||||
length = NETWORK_PASSWORD_LENGTH
|
||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||
def = nullptr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user