Skip to content
Snippets Groups Projects
Commit cdaebd63 authored by rswindell's avatar rswindell
Browse files

Use case-insensitive string compare in chksyspass() - for passed system

password string.
parent 7cb3521a
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ bool sbbs_t::chksyspass(const char* sys_pw)
getstr(str, 40, K_UPPER | K_NOECHO);
CRLF;
}
if(strcmp(cfg.sys_pass,str)) {
if(stricmp(cfg.sys_pass,str)) {
if(cfg.sys_misc&SM_ECHO_PW)
SAFEPRINTF3(str2,"%s #%u System password attempt: '%s'"
,useron.alias,useron.number,str);
......
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