diff options
-rw-r--r-- | plugins/Import/src/import.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp index 5faff95ca8..b727d7f7d9 100644 --- a/plugins/Import/src/import.cpp +++ b/plugins/Import/src/import.cpp @@ -468,12 +468,7 @@ bool ImportAccounts(OBJLIST<char> &arSkippedModules) }
if (p->pa == nullptr) {
- ACC_CREATE newacc;
- newacc.pszBaseProto = p->szBaseProto;
- newacc.pszInternal = nullptr;
- newacc.ptszAccountName = p->tszSrcName;
-
- p->pa = ProtoCreateAccount(&newacc);
+ p->pa = Proto_CreateAccount(nullptr, p->szBaseProto, p->tszSrcName);
if (p->pa == nullptr) {
AddMessage(LPGENW("Unable to create an account %s of protocol %S"), p->tszSrcName, p->szBaseProto);
continue;
|