summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/exportimport.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-15 21:00:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-15 21:00:11 +0000
commitde98f325061f64cc3be923aa8bb8f5a619711549 (patch)
tree471f8e992f8e2c13b6e951b62a344b12225c8178 /plugins/DbEditorPP/src/exportimport.cpp
parent66e8bca7ae6dd7936ebc23ddc49d3e3fef9522b4 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14575 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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));