diff options
Diffstat (limited to 'plugins/SmileyAdd/src/general.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/general.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/SmileyAdd/src/general.cpp b/plugins/SmileyAdd/src/general.cpp index 7c669ca5ec..c0a73d55f7 100644 --- a/plugins/SmileyAdd/src/general.cpp +++ b/plugins/SmileyAdd/src/general.cpp @@ -134,10 +134,7 @@ MCONTACT DecodeMetaContact(MCONTACT hContact) return 0;
MCONTACT hReal = db_mc_getMostOnline(hContact);
- if (hReal == 0 || (INT_PTR)hReal == CALLSERVICE_NOTFOUND)
- hReal = hContact;
-
- return hReal;
+ return (hReal == 0) ? hContact : hReal;
}
bool IsSmileyProto(char *proto)
|