From 171e84714b11162f2897d44911f24a8bd3e36fc5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 11 Jun 2021 19:28:57 +0300 Subject: partial revert of #2903 --- src/mir_app/src/protocols.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mir_app/src/protocols.cpp b/src/mir_app/src/protocols.cpp index fcd5a42ddc..87be16993b 100644 --- a/src/mir_app/src/protocols.cpp +++ b/src/mir_app/src/protocols.cpp @@ -339,7 +339,7 @@ PROTOACCOUNT::~PROTOACCOUNT() bool PROTOACCOUNT::IsEnabled() const { - return (this != nullptr) && (bIsEnabled && !bDynDisabled); + return (this != nullptr) && ((bIsEnabled && !bDynDisabled) || bOldProto); } bool PROTOACCOUNT::IsLocked() const -- cgit v1.2.3