summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-18 17:31:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-18 17:31:01 +0000
commitb43b50d64b57b2f41ffebe2f50eb5976152b9ad1 (patch)
tree46330aeeda10ea7cc97c2ed25e14f8896f2cb839 /src/mir_core
parent3af4bb5ed2c17d17ecc8073cd233277ed8541cf1 (diff)
"Status" became resident for all protocols, in a constructor
git-svn-id: http://svn.miranda-ng.org/main/trunk@14246 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/protos.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_core/src/protos.cpp b/src/mir_core/src/protos.cpp
index ddddbec440..f3d3f79f63 100644
--- a/src/mir_core/src/protos.cpp
+++ b/src/mir_core/src/protos.cpp
@@ -106,6 +106,7 @@ MIR_CORE_DLL(void) ProtoConstructor(PROTO_INTERFACE *pThis, LPCSTR pszModuleName
pThis->m_szModuleName = mir_strdup(pszModuleName);
pThis->m_hProtoIcon = IcoLib_IsManaged(Skin_LoadProtoIcon(pszModuleName, ID_STATUS_ONLINE));
pThis->m_tszUserName = mir_tstrdup(ptszUserName);
+ db_set_resident(pThis->m_szModuleName, "Status");
}
MIR_CORE_DLL(void) ProtoDestructor(PROTO_INTERFACE *pThis)