Skip to content
Snippets Groups Projects
Commit 0675ab90 authored by deuce's avatar deuce
Browse files

Handle the case where a packet password is configured, but the TIC file

has no password.
parent 4fab6a57
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,10 @@ SBBSEchoCfg.prototype.match_pw = function(node, pw)
return true;
return false;
}
if (pw === undefined || pw === '') {
log(LOG_WARNING, "Packet password ("+pktpwd+") configured, but TIC has no password");
return false;
}
if (pw.toUpperCase() === pktpw.toUpperCase())
return true;
......
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