summaryrefslogtreecommitdiff
path: root/plugins/Spamotron/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Spamotron/src/utils.cpp')
-rw-r--r--plugins/Spamotron/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Spamotron/src/utils.cpp b/plugins/Spamotron/src/utils.cpp
index 6ae1ca6d84..39f4fd35f5 100644
--- a/plugins/Spamotron/src/utils.cpp
+++ b/plugins/Spamotron/src/utils.cpp
@@ -505,6 +505,6 @@ void MarkUnread(MCONTACT hContact)
db_event_add(hContact,&_dbei);
}
db_free(&_dbv);
- db_unset(hContact, MODULENAME, "LastMsgEvents");
+ g_plugin.delSetting(hContact, "LastMsgEvents");
}
}