summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/protocols/protoopts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/protocols/protoopts.cpp b/src/modules/protocols/protoopts.cpp
index 847fd15839..af8621bc73 100644
--- a/src/modules/protocols/protoopts.cpp
+++ b/src/modules/protocols/protoopts.cpp
@@ -660,7 +660,7 @@ INT_PTR CALLBACK AccMgrDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM
for (i=0; i < accounts.getCount(); i++) {
PROTOACCOUNT *p = accounts[i];
PROTOCOLDESCRIPTOR *pd = Proto_IsProtocolLoaded(p->szProtoName);
- if (pd == NULL || pd->type != PROTOTYPE_PROTOCOL)
+ if (pd != NULL && pd->type != PROTOTYPE_PROTOCOL)
continue;
int iItem = SendMessage(hList, LB_ADDSTRING, 0, (LPARAM)p->tszAccountName);