Commit 34d46c3e authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Don't force password-changes for users with blank passwords (e.g. Guest)

Wow. This is another one of those "forever bugs".
parent ddba8d7c
......@@ -233,7 +233,7 @@ bool sbbs_t::logon()
batch_add_list(str);
if(!(sys_status&SS_QWKLOGON)) { /* QWK Nodes don't go through this */
if(cfg.sys_pwdays
if(cfg.sys_pwdays && useron.pass[0]
&& (ulong)logontime>(useron.pwmod+((ulong)cfg.sys_pwdays*24UL*60UL*60UL))) {
bprintf(text[TimeToChangePw],cfg.sys_pwdays);
......
Markdown is supported
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