diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-07 17:50:35 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-07 18:07:33 +0200 |
commit | 1732a6b13f52b573cc4af91c2d9120c596e6bf78 (patch) | |
tree | 57e853c70f4bf51bfedbd8a50874746e5a3bc971 /plugins/StatusManager/src/commonstatus.cpp | |
parent | d1c9c916887e91a32d7794c83c37ff1c512660d9 (diff) |
PROTOACCOUNT::bIsLocked: lock status to be stored in memory
PROTOACCOUNT became a normal class with constructor & destructor
Diffstat (limited to 'plugins/StatusManager/src/commonstatus.cpp')
-rw-r--r-- | plugins/StatusManager/src/commonstatus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StatusManager/src/commonstatus.cpp b/plugins/StatusManager/src/commonstatus.cpp index 13e7108af6..1fa60745dd 100644 --- a/plugins/StatusManager/src/commonstatus.cpp +++ b/plugins/StatusManager/src/commonstatus.cpp @@ -164,7 +164,7 @@ static int equalsGlobalStatus(PROTOCOLSETTINGEX **ps) if (pstatus == 0) pstatus = pa->iRealStatus; - if (db_get_b(0, pa->szModuleName, "LockMainStatus", 0)) { + if (pa->bIsLocked) { // if proto is locked, pstatus must be the current status if (pstatus != pa->iRealStatus) return 0; |