summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/main.cpp')
-rw-r--r--plugins/NewStory/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/main.cpp b/plugins/NewStory/src/main.cpp
index 9f02dd23e4..dbcadd015e 100644
--- a/plugins/NewStory/src/main.cpp
+++ b/plugins/NewStory/src/main.cpp
@@ -107,7 +107,7 @@ static int evtEventAdded(WPARAM hContact, LPARAM lParam)
static int evtEventDeleted(WPARAM hContact, LPARAM lParam)
{
- return SmartSendEvent(UM_REMOVEEVENT, hContact, lParam);
+ return (g_plugin.bDisableDelete) ? 0 : SmartSendEvent(UM_REMOVEEVENT, hContact, lParam);
}
static int evtEventEdited(WPARAM hContact, LPARAM lParam)