From 0a3b4b791a99164d96841e4c771f7cb78236dc9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sat, 29 Aug 2015 12:17:53 +0000 Subject: MimCmd: Fix getting contacts by "online" status; version bump When contact doesn't have set status field, it means he is offline, not online. git-svn-id: http://svn.miranda-ng.org/main/trunk@15088 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CmdLine/src/mimcmd_handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/CmdLine/src/mimcmd_handlers.cpp') diff --git a/plugins/CmdLine/src/mimcmd_handlers.cpp b/plugins/CmdLine/src/mimcmd_handlers.cpp index 673813dc24..f5454b2f2f 100644 --- a/plugins/CmdLine/src/mimcmd_handlers.cpp +++ b/plugins/CmdLine/src/mimcmd_handlers.cpp @@ -1257,7 +1257,7 @@ int ContactMatchSearch(MCONTACT hContact, char *contact, char *id, char *account char protocol[128]; AccountName2Protocol(account, protocol, sizeof(protocol)); - WORD contactStatus = db_get_w(hContact, protocol, "Status", ID_STATUS_ONLINE); + WORD contactStatus = db_get_w(hContact, protocol, "Status", ID_STATUS_OFFLINE); if (searchStatus != contactStatus) { matches = 0; -- cgit v1.2.3