summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamPlus/src/options.cpp')
-rw-r--r--plugins/StopSpamPlus/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StopSpamPlus/src/options.cpp b/plugins/StopSpamPlus/src/options.cpp
index da64a57d50..158f0f5acd 100644
--- a/plugins/StopSpamPlus/src/options.cpp
+++ b/plugins/StopSpamPlus/src/options.cpp
@@ -121,7 +121,7 @@ public:
for (int i = 0; i < n; i++) {
PROTOACCOUNT *p = pa[i];
- if (!Proto_IsAccountEnabled(p) || p->bIsVirtual)
+ if (!p->IsEnabled() || p->bIsVirtual)
continue;
item.lParam = (LPARAM)p->szModuleName;