From 0b14420a3e6a2396fd21aa619297fb0d5bacb335 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 12 Jul 2019 02:10:42 +0000
Subject: [PATCH] Don't change useron.misc during logon. This could cause a
 user's account to have the NO_EXASCII (plain-ASCII only) set if the logged in
 without a successful auto-terminal-type detection. And with
 sbbs_t::term_supports(), we don't need useron.misc to reflect the
 auto-detected-terminal-type any longer.

---
 src/sbbs3/answer.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/sbbs3/answer.cpp b/src/sbbs3/answer.cpp
index 97e207e2f9..d7bccca06d 100644
--- a/src/sbbs3/answer.cpp
+++ b/src/sbbs3/answer.cpp
@@ -450,8 +450,6 @@ bool sbbs_t::answer()
 		input_thread_mutex_locked = false;
 	}
 	lprintf(LOG_INFO, "terminal type: %lux%lu %s", cols, rows, terminal);
-	useron.misc&=~TERM_FLAGS;
-	useron.misc|=autoterm;
 	SAFECOPY(client_ipaddr, cid);	/* Over-ride IP address with Caller-ID info */
 	SAFECOPY(useron.comp,client_name);
 
-- 
GitLab