summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/mir_db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/mir_db.cpp')
-rw-r--r--plugins/UserInfoEx/src/mir_db.cpp7
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);
}
/**