Commit 730cbdad authored by deuce's avatar deuce
Browse files

Always fail request_telnet_opt() immediately when not using telnet.

Prevents telnet options from getting set incorrectly.
parent a23d0300
......@@ -1488,6 +1488,9 @@ void sbbs_t::send_telnet_cmd(uchar cmd, uchar opt)
bool sbbs_t::request_telnet_opt(uchar cmd, uchar opt, unsigned waitforack)
return false;
if(cmd==TELNET_DO || cmd==TELNET_DONT) { /* remote option */
return true; /* already set in this mode, do nothing */
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