summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Msg_Export/src/options.cpp')
-rwxr-xr-xplugins/Msg_Export/src/options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Msg_Export/src/options.cpp b/plugins/Msg_Export/src/options.cpp
index cf55041001..d2a027545e 100755
--- a/plugins/Msg_Export/src/options.cpp
+++ b/plugins/Msg_Export/src/options.cpp
@@ -210,6 +210,10 @@ int nExportCompleatList(HWND hParent, bool bOnlySelected)
MCONTACT hContact = (MCONTACT)sItem.lParam;
+ // Check if we should ignore this contact/protocol
+ if (!bIsExportEnabled(hContact))
+ continue;
+
list<CLDBEvent> &rclCurList = AllEvents[GetFilePathFromUser(hContact)];
MEVENT hDbEvent = db_event_first(hContact);