summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-06-11 19:28:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-06-11 19:28:57 +0300
commit171e84714b11162f2897d44911f24a8bd3e36fc5 (patch)
tree3a199eebc76edf22d4b47280bc4af9c567684627 /src/mir_app
parent946014833774778476a42f3df4692394fa3eab97 (diff)
partial revert of #2903
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/protocols.cpp2
1 files changed, 1 insertions, 1 deletions
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