summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-11-28 22:58:40 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-11-28 22:58:40 +0000
commitb39742edb863597c60db4172fe6a3a4ad86de500 (patch)
tree8e9d9be88a99e124b1d7f2283acdc587082639e3 /plugins/HistoryStats/src
parent775d75ea539754c19e2d07dfb49dba83a120e8c3 (diff)
-Fix for some random bug with metacontacts (maybe #821), reported in #837
git-svn-id: http://svn.miranda-ng.org/main/trunk@11145 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src')
-rw-r--r--plugins/HistoryStats/src/mirandacontact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/mirandacontact.cpp b/plugins/HistoryStats/src/mirandacontact.cpp
index 1029a6f612..b6b299714f 100644
--- a/plugins/HistoryStats/src/mirandacontact.cpp
+++ b/plugins/HistoryStats/src/mirandacontact.cpp
@@ -41,7 +41,7 @@ void MirandaContact::fetchSlot(int i)
void MirandaContact::stripMetaID(DBEVENTINFO& dbe)
{
- if (strcmp(dbe.szModule,META_PROTO)) {
+ if (strcmp(dbe.szModule,META_PROTO)==0) {
char* pTextBegin = reinterpret_cast<char*>(dbe.pBlob);
if (dbe.cbBlob >= 6 && !pTextBegin[dbe.cbBlob - 1]) {