summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/QuickContacts/src/quickcontacts.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp
index d4be8da14c..697a64674e 100644
--- a/plugins/QuickContacts/src/quickcontacts.cpp
+++ b/plugins/QuickContacts/src/quickcontacts.cpp
@@ -132,12 +132,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam)
ProtoEnumAccounts(&pcount,&pdesc);
- opts.num_protos = 0;
- for (int loop=0;loop<pcount;loop++)
- {
-// if (pdesc[loop]->type==PROTOTYPE_PROTOCOL)
- opts.num_protos++;
- }
+ opts.num_protos = pcount;
// Add hotkey to multiple services