summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-02-23 14:39:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-02-23 14:39:27 +0000
commitb9944684c1ca56a24b527772d3543bc3535c960a (patch)
tree6f36c62d29967e23eea8b89764beb56736ee60b5 /protocols/JabberG/src/jabber_thread.cpp
parentb798a0bbb1f784fa6f7330db6b81ee2ba3a6f483 (diff)
fix for a crash in Jabber user info dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@12246 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 56dec1aa27..3dd2f90031 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -497,15 +497,13 @@ recvRest:
if (!info.bIsReg) {
m_iqManager.ExpireAll();
- m_bJabberOnline = FALSE;
+ m_bJabberOnline = false;
info.zlibUninit();
EnableMenuItems(FALSE);
RebuildInfoFrame();
- if (m_hwndJabberChangePassword) {
- //DestroyWindow(hwndJabberChangePassword);
+ if (m_hwndJabberChangePassword)
// Since this is a different thread, simulate the click on the cancel button instead
SendMessage(m_hwndJabberChangePassword, WM_COMMAND, MAKEWORD(IDCANCEL, 0), 0);
- }
// Quit all chatrooms (will send quit message)
LISTFOREACH(i, this, LIST_CHATROOM)
@@ -514,9 +512,7 @@ recvRest:
ListRemoveList(LIST_CHATROOM);
ListRemoveList(LIST_BOOKMARK);
- //UI_SAFE_NOTIFY(m_pDlgJabberJoinGroupchat, WM_JABBER_CHECK_ONLINE);
UI_SAFE_NOTIFY_HWND(m_hwndJabberAddBookmark, WM_JABBER_CHECK_ONLINE);
- //UI_SAFE_NOTIFY(m_pDlgBookmarks, WM_JABBER_CHECK_ONLINE);
WindowNotify(WM_JABBER_CHECK_ONLINE);
// Set status to offline