diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_opt.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_opt.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 7755e0bfca..e76dd082e2 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -541,17 +541,6 @@ private: void btnRegister_OnClick(CCtrlButton *)
{
- CMString buf;
- TCHAR pass[512];
- if (!m_proto->EnterString(buf, TranslateT("Confirm password"), ESF_PASSWORD))
- return;
-
- m_txtPassword.GetText(pass, _countof(pass));
- if (mir_tstrcmp(buf, pass)) {
- MessageBox(m_hwnd, TranslateT("Passwords do not match."), _T("Miranda NG"), MB_ICONSTOP|MB_OK);
- return;
- }
-
PSHNOTIFY pshn = {0};
pshn.hdr.code = PSN_APPLY;
pshn.hdr.hwndFrom = m_hwnd;
@@ -1795,17 +1784,6 @@ private: void btnRegister_OnClick(CCtrlButton *)
{
- CMString buf;
- if (!m_proto->EnterString(buf, TranslateT("Confirm password"), ESF_PASSWORD))
- return;
-
- TCHAR pass[512];
- m_txtPassword.GetText(pass, _countof(pass));
- if (mir_tstrcmp(buf, pass)) {
- MessageBox(m_hwnd, TranslateT("Passwords do not match."), _T("Miranda NG"), MB_ICONSTOP|MB_OK);
- return;
- }
-
PSHNOTIFY pshn = {0};
pshn.hdr.code = PSN_APPLY;
pshn.hdr.hwndFrom = m_hwnd;
|