summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Msg_Export')
-rwxr-xr-xplugins/Msg_Export/src/utils.cpp10
-rwxr-xr-xplugins/Msg_Export/src/utils.h2
2 files changed, 4 insertions, 8 deletions
diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp
index 7ee94d423d..877ce7d7c6 100755
--- a/plugins/Msg_Export/src/utils.cpp
+++ b/plugins/Msg_Export/src/utils.cpp
@@ -1426,12 +1426,10 @@ int nExportEvent(WPARAM wparam,LPARAM lparam)
}
if ( !db_event_get(hDbEvent, &dbei)) {
- if (dbei.eventType != EVENTTYPE_STATUSCHANGE) {
- char szTemp[500];
- mir_snprintf(szTemp, SIZEOF(szTemp), "DisableProt_%s", dbei.szModule);
- if (db_get_b(NULL,MODULE,szTemp,1))
- ExportDBEventInfo( hContact, dbei);
- }
+ char szTemp[500];
+ mir_snprintf(szTemp, SIZEOF(szTemp), "DisableProt_%s", dbei.szModule);
+ if (db_get_b(NULL,MODULE,szTemp,1))
+ ExportDBEventInfo( hContact, dbei);
}
if (dbei.pBlob )
free(dbei.pBlob);
diff --git a/plugins/Msg_Export/src/utils.h b/plugins/Msg_Export/src/utils.h
index 276f85c8be..ffb67d2ea0 100755
--- a/plugins/Msg_Export/src/utils.h
+++ b/plugins/Msg_Export/src/utils.h
@@ -20,8 +20,6 @@
#ifndef MSG_EXP_UTILS_H
#define MSG_EXP_UTILS_H
-#define EVENTTYPE_STATUSCHANGE 25368
-
#define tstring wstring
#define _DBGetString _DBGetStringW