summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamPlus/src/services.cpp')
-rw-r--r--plugins/StopSpamPlus/src/services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StopSpamPlus/src/services.cpp b/plugins/StopSpamPlus/src/services.cpp
index 7cc8fec1a5..7428bf445c 100644
--- a/plugins/StopSpamPlus/src/services.cpp
+++ b/plugins/StopSpamPlus/src/services.cpp
@@ -6,7 +6,7 @@ INT_PTR IsContactPassed(WPARAM hContact, LPARAM /*lParam*/)
if (szProto == nullptr)
return CS_PASSED;
- if (!plSets->ProtoDisabled(szProto))
+ if (!g_sets.ProtoDisabled(szProto))
return CS_PASSED;
if (db_get_b(hContact, pluginName, answeredSetting, 0))
@@ -70,7 +70,7 @@ INT_PTR RemoveTempContacts(WPARAM, LPARAM lParam)
int OnSystemModulesLoaded(WPARAM, LPARAM)
{
- if (plSets->RemTmpAll.Get())
+ if (g_sets.RemTmpAll)
RemoveTempContacts(0, 1);
return 0;
}