summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/srmm_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp
index 37458a43b5..898f98c7a8 100644
--- a/src/mir_app/src/srmm_base.cpp
+++ b/src/mir_app/src/srmm_base.cpp
@@ -67,7 +67,7 @@ CSrmmBaseDialog::CSrmmBaseDialog(HINSTANCE hInst, int idDialog, SESSION_INFO *si
m_hContact = si->hContact;
MODULEINFO *mi = chatApi.MM_FindModule(si->pszModule);
- if (mi == nullptr) {
+ if (mi != nullptr) {
if (mi->bColor) {
m_iFG = 4;
m_bFGSet = true;