summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DbEditorPP/src/main.cpp')
-rw-r--r--plugins/DbEditorPP/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp
index 2871c7d3e8..dbf1610cb6 100644
--- a/plugins/DbEditorPP/src/main.cpp
+++ b/plugins/DbEditorPP/src/main.cpp
@@ -512,7 +512,7 @@ int ApplyProtoFilter(MCONTACT hContact)
char szProto[FLD_SIZE];
if (!db_get_static(hContact, "Protocol", "p", szProto, _countof(szProto)))
- loaded = Proto_IsProtocolLoaded(szProto) ? 1 : 0;
+ loaded = Proto_GetAccount(szProto) ? 1 : 0;
if ((loaded && g_Mode == MODE_UNLOADED) || (!loaded && g_Mode == MODE_LOADED))
return 1;