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 +- plugins/CmdLine/src/version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/CmdLine/src') 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; diff --git a/plugins/CmdLine/src/version.h b/plugins/CmdLine/src/version.h index 5a1aa99af8..8a92313388 100644 --- a/plugins/CmdLine/src/version.h +++ b/plugins/CmdLine/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 0 #define __RELEASE_NUM 4 -#define __BUILD_NUM 5 +#define __BUILD_NUM 6 #include -- cgit v1.2.3