From 7d4513c70dcfaf53ca48cf2c773e3633085e2801 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Thu, 25 Oct 2018 18:29:50 +0000 Subject: [PATCH] When auto-terminal-type detection is enabled, always use those term flags, don't use the stored user terminal type. This allows the same user (e.g. the sysop) to be logged onto multiple nodes concurrently with different terminal types without effecting the other node/session. Guest sessions were already immune to this problem. --- src/sbbs3/con_out.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/con_out.cpp b/src/sbbs3/con_out.cpp index 4e3535a248..03819da522 100644 --- a/src/sbbs3/con_out.cpp +++ b/src/sbbs3/con_out.cpp @@ -244,7 +244,7 @@ void sbbs_t::backspace(void) /****************************************************************************/ long sbbs_t::term_supports(long cmp_flags) { - long flags = sys_status&SS_USERON ? useron.misc : autoterm; + long flags = ((sys_status&SS_USERON) && !(useron.misc&AUTOTERM)) ? useron.misc : autoterm; return(cmp_flags ? ((flags&cmp_flags)==cmp_flags) : (flags&TERM_FLAGS)); } -- GitLab