Commit 83c12ca4 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Don't try to send telnet commands if not connected.

parent a0ce3cd7
Pipeline #3543 passed with stage
in 5 minutes and 16 seconds
......@@ -162,7 +162,7 @@ bool sbbs_t::answer()
}
}
if(!(telnet_mode&TELNET_MODE_OFF)) {
if(online && !(telnet_mode&TELNET_MODE_OFF)) {
/* Disable Telnet Terminal Echo */
request_telnet_opt(TELNET_WILL,TELNET_ECHO);
/* Will suppress Go Ahead */
......
Supports Markdown
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