summaryrefslogtreecommitdiff
path: root/src/modules/metacontacts/meta_utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-24 20:01:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-24 20:01:15 +0000
commit61cfefc94022c3fa8bfe1a2900bd02a3602796bf (patch)
tree2a0c8c46a836f2f8da752c1c3872bf46192820ce /src/modules/metacontacts/meta_utils.cpp
parentcbd1af7c1da031b90f25f840ef560873e2b49f08 (diff)
experimental: a default sub would be used if it's not offline
git-svn-id: http://svn.miranda-ng.org/main/trunk@8733 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_utils.cpp')
-rw-r--r--src/modules/metacontacts/meta_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/metacontacts/meta_utils.cpp b/src/modules/metacontacts/meta_utils.cpp
index 611ba1e0cd..05fa5aa248 100644
--- a/src/modules/metacontacts/meta_utils.cpp
+++ b/src/modules/metacontacts/meta_utils.cpp
@@ -251,7 +251,7 @@ MCONTACT Meta_GetMostOnlineSupporting(DBCachedContact *cc, int pflagnum, unsigne
// if our default is not offline, and option to use default is set - return default
// and also if our default is online, return it
- if (most_online_status == ID_STATUS_ONLINE)
+ if (most_online_status != ID_STATUS_OFFLINE)
return most_online_contact;
}
else most_online_status = ID_STATUS_OFFLINE;