diff options
Diffstat (limited to 'plugins/Import/src/import.cpp')
-rw-r--r-- | plugins/Import/src/import.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp index dca01e591c..779e9c8423 100644 --- a/plugins/Import/src/import.cpp +++ b/plugins/Import/src/import.cpp @@ -205,6 +205,11 @@ static PROTOACCOUNT* FindMyAccount(const char *szProto, const char *szBaseProto) PROTOACCOUNT *pProto = NULL;
for (int i = 0; i < destProtoCount; i++) {
PROTOACCOUNT *pa = destAccs[i];
+ // already used? skip
+ if (arAccountMap.find((AccountMap*)&pa->szProtoName))
+ continue;
+
+ // different base protocotol type -> skip
if (lstrcmpA(pa->szProtoName, szBaseProto))
continue;
|