diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-27 20:51:36 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-27 20:51:36 +0000 |
commit | dc213051ce22e542a73bba252a6657865c1b8ea8 (patch) | |
tree | 28b40d54409f2c7b6776193b8b13e7abab3830cd /src/modules/protocols/protochains.cpp | |
parent | cfaef4e914f8e493f7bb24968b8947bea9ff31e7 (diff) |
virtual protos also need Protocol/p
git-svn-id: http://svn.miranda-ng.org/main/trunk@2530 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/protocols/protochains.cpp')
-rw-r--r-- | src/modules/protocols/protochains.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|