summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/exportimport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DbEditorPP/src/exportimport.cpp')
-rw-r--r--plugins/DbEditorPP/src/exportimport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DbEditorPP/src/exportimport.cpp b/plugins/DbEditorPP/src/exportimport.cpp
index 281fd6d10c..e5ce1941fb 100644
--- a/plugins/DbEditorPP/src/exportimport.cpp
+++ b/plugins/DbEditorPP/src/exportimport.cpp
@@ -122,7 +122,7 @@ char* NickFromHContact(MCONTACT hContact)
szProto[0] = 0;
if (!db_get_static(hContact, "Protocol", "p", szProto, _countof(szProto)))
- loaded = Proto_IsProtocolLoaded(szProto) ? 1 : 0;
+ loaded = Proto_GetAccount(szProto) ? 1 : 0;
if (!szProto[0] || db_get_static(hContact, szProto, "Nick", name, _countof(name)))
mir_strncpy(name, "(UNKNOWN)", _countof(name));