summaryrefslogtreecommitdiff
path: root/plugins/CmdLine
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-08-29 12:17:53 +0000
committerRobert Pösel <robyer@seznam.cz>2015-08-29 12:17:53 +0000
commit0a3b4b791a99164d96841e4c771f7cb78236dc9c (patch)
treec0be66a1e134aac9fc28117aa0863804ef11e43e /plugins/CmdLine
parent522011eac95318f9e77a340130f04724ff3f09bd (diff)
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
Diffstat (limited to 'plugins/CmdLine')
-rw-r--r--plugins/CmdLine/src/mimcmd_handlers.cpp2
-rw-r--r--plugins/CmdLine/src/version.h2
2 files changed, 2 insertions, 2 deletions
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 <stdver.h>