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

Don't turn off the "ASCII only" user setting during logon

... when auto-terminal-type detection is enabled for the user

Fix for issue #923
parent b30586ce
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ bool sbbs_t::logon()
if ((useron.misc & AUTOTERM)
// User manually-enabled PETSCII, but they're logging in with an ANSI (auto-detected) terminal
|| ((useron.misc & PETSCII) && (autoterm & ANSI))) {
useron.misc &= ~(ANSI | RIP | CHARSET_FLAGS);
useron.misc &= ~(ANSI | RIP | PETSCII | UTF8); // Note: don't turn off NO_EXASCII flag (issue #923)
useron.misc |= (AUTOTERM | autoterm);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment