summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]) {