diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-27 21:51:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-27 21:51:46 +0000 |
commit | 1fb0cd07fba1e8d6f9ac2ebe3b4f2e1c60acb81b (patch) | |
tree | 904c95b33e03e806aea734552281257768273a14 /plugins/UserInfoEx/src/mir_db.cpp | |
parent | a8e8aebfd4f53977873c72c2d828c2c1f505f10d (diff) |
- metacontacts are always present;
- added META_PROTO constant for mc module name;
- MS_MC_GETPROTOCOLNAME removed, because it always returns META_PROTO
git-svn-id: http://svn.miranda-ng.org/main/trunk@8319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/mir_db.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/mir_db.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/UserInfoEx/src/mir_db.cpp b/plugins/UserInfoEx/src/mir_db.cpp index d759ebaf9b..17f77c8161 100644 --- a/plugins/UserInfoEx/src/mir_db.cpp +++ b/plugins/UserInfoEx/src/mir_db.cpp @@ -48,9 +48,6 @@ MCONTACT Sub(MCONTACT hMetaContact, int idx) MCONTACT GetMeta(MCONTACT hContact)
{
- if (!myGlobals.szMetaProto)
- return NULL;
-
return db_mc_getMeta(hContact);
}
@@ -196,9 +193,7 @@ bool IsEmpty(MCONTACT hContact, LPCSTR pszModule) bool IsMeta(LPCSTR pszModule)
{
- if (myGlobals.szMetaProto)
- return !mir_strcmp(pszModule, myGlobals.szMetaProto);
- return !mir_strcmp(pszModule, "MetaContacts");
+ return !mir_strcmp(pszModule, META_PROTO);
}
/**
|