From a7161575512b0b043c025fd2efbbc612d309c56d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 15 Mar 2014 10:46:01 +0000 Subject: fix for setting bIsVirtual git-svn-id: http://svn.miranda-ng.org/main/trunk@8617 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/protocols/protocols.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3