diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-15 10:46:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-15 10:46:01 +0000 |
commit | a7161575512b0b043c025fd2efbbc612d309c56d (patch) | |
tree | b68472b7dcf2f99d6fb941763829df18b5c2df92 /src | |
parent | 64584429ed5064bb25f8275bdd430728de9fd421 (diff) |
fix for setting bIsVirtual
git-svn-id: http://svn.miranda-ng.org/main/trunk@8617 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/protocols/protocols.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/protocols/protocols.cpp b/src/modules/protocols/protocols.cpp index b93b9dc25a..ed56413f0a 100644 --- a/src/modules/protocols/protocols.cpp +++ b/src/modules/protocols/protocols.cpp @@ -121,11 +121,11 @@ static INT_PTR Proto_RegisterModule(WPARAM, LPARAM lParam) pa->szProtoName = mir_strdup(pd->szName);
pa->tszAccountName = mir_a2t(pd->szName);
pa->bIsVisible = pa->bIsEnabled = true;
- pa->bIsVirtual = (p->type == PROTOTYPE_VIRTUAL);
pa->iOrder = accounts.getCount();
accounts.insert(pa);
}
pa->bOldProto = true;
+ pa->bIsVirtual = (p->type == PROTOTYPE_VIRTUAL);
pa->ppro = ppi;
p->fnInit = defInitProto;
p->fnUninit = FreeDefaultAccount;
|