From dc213051ce22e542a73bba252a6657865c1b8ea8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 27 Nov 2012 20:51:36 +0000 Subject: virtual protos also need Protocol/p git-svn-id: http://svn.miranda-ng.org/main/trunk@2530 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/protocols/protochains.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/protocols/protochains.cpp b/src/modules/protocols/protochains.cpp index 53600c6a50..d9737bdb06 100644 --- a/src/modules/protocols/protochains.cpp +++ b/src/modules/protocols/protochains.cpp @@ -225,7 +225,7 @@ static INT_PTR Proto_AddToContact(WPARAM wParam, LPARAM lParam) return 1; } - if (pd->type == PROTOTYPE_PROTOCOL) + if (pd->type == PROTOTYPE_PROTOCOL || pd->type == PROTOTYPE_VIRTUAL) db_set_s((HANDLE)wParam, "Protocol", "p", szProto); return 0; -- cgit v1.2.3