diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/protocols/protoopts.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/protocols/protoopts.cpp b/src/modules/protocols/protoopts.cpp index 3e03433e15..aa5d75af62 100644 --- a/src/modules/protocols/protoopts.cpp +++ b/src/modules/protocols/protoopts.cpp @@ -125,8 +125,10 @@ static INT_PTR CALLBACK AccFormDlgProc(HWND hwndDlg, UINT message, WPARAM wParam rtrim(buf);
if (buf[0]) {
for (int i=0; i < accounts.getCount(); i++)
- if (_stricmp(buf, accounts[i]->szModuleName) == 0)
+ if (_stricmp(buf, accounts[i]->szModuleName) == 0) {
+ MessageBox(NULL, TranslateT("Account name has to be unique. Please enter unique name."), TranslateT("Account Error"), MB_ICONERROR | MB_OK);
return FALSE;
+ }
}
}
|