From abf4069c2e3473da8f1d468e46c19951935a912f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 14 Mar 2017 12:19:39 +0300 Subject: fixes #744 --- plugins/TabSRMM/src/chat_main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM/src/chat_main.cpp') diff --git a/plugins/TabSRMM/src/chat_main.cpp b/plugins/TabSRMM/src/chat_main.cpp index 5df84402de..3c0c487821 100644 --- a/plugins/TabSRMM/src/chat_main.cpp +++ b/plugins/TabSRMM/src/chat_main.cpp @@ -64,16 +64,14 @@ static void OnNewUser(SESSION_INFO *si, USERINFO*) { if (si->pDlg) { si->pDlg->UpdateNickList(); - if (si->pDlg) - si->pDlg->GetMyNick(); + si->pDlg->GetMyNick(); } } static void OnChangeNick(SESSION_INFO *si) { if (si->pDlg) { - if (si->pDlg) - si->pDlg->GetMyNick(); + si->pDlg->GetMyNick(); si->pDlg->UpdateStatusBar(); } } -- cgit v1.2.3