diff options
Diffstat (limited to 'plugins/TabSRMM/src/chat_main.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat_main.cpp | 6 |
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();
}
}
|