summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat_main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-14 12:19:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-14 12:19:39 +0300
commitabf4069c2e3473da8f1d468e46c19951935a912f (patch)
tree2043f9159bf5f9ae9bd71ae7285c38f8ec1b4fd5 /plugins/TabSRMM/src/chat_main.cpp
parent28664fa2341425bd0ece0ee457b0fa0982226a3a (diff)
fixes #744
Diffstat (limited to 'plugins/TabSRMM/src/chat_main.cpp')
-rw-r--r--plugins/TabSRMM/src/chat_main.cpp6
1 files changed, 2 insertions, 4 deletions
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();
}
}