Skip to content
Snippets Groups Projects
Commit 00b65dfc authored by deuce's avatar deuce
Browse files

Turn off require_crypt if we turn on wont_crypt.

parent b3bfb7ff
No related branches found
No related tags found
No related merge requests found
......@@ -393,8 +393,10 @@ BinkP.prototype.connect = function(addr, password, auth_cb, port)
this.authenticated = undefined;
if (password !== '-')
this.sendCmd(this.command.M_NUL, "OPT CRYPT");
else
else {
this.wont_crypt = true;
this.require_crypt = false;
}
this.sendCmd(this.command.M_NUL, "SYS "+this.system_name);
this.sendCmd(this.command.M_NUL, "ZYZ "+this.system_operator);
this.sendCmd(this.command.M_NUL, "LOC "+this.system_location);
......
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