summaryrefslogtreecommitdiff
path: root/src/modules/protocols/protochains.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/protocols/protochains.cpp')
-rw-r--r--src/modules/protocols/protochains.cpp2
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;