Skip to content
Snippets Groups Projects
Commit 9a9c26f4 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't modify useron.misc during logon, even for AUTOTERM

We shouldn't need to set any of the autoterm flags in useron.misc these days (term_supports() checks autoterm when appropriate).

Try this Nelgin.
parent 96900f36
No related branches found
No related tags found
No related merge requests found
......@@ -163,10 +163,7 @@ bool sbbs_t::logon()
}
if(useron.misc&AUTOTERM) {
useron.misc&=~(ANSI|RIP|PETSCII);
useron.misc|=autoterm;
} else if((useron.misc&PETSCII) && (autoterm&ANSI)) {
if(((useron.misc & (AUTOTERM | PETSCII)) == PETSCII) && (autoterm&ANSI)) {
// User manually-enabled PETSCII, but they're logging in with an ANSI (auto-detected) terminal
useron.misc &= ~PETSCII;
useron.misc |= (AUTOTERM | autoterm);
......
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