summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdlgother.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-09-24 13:38:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-09-24 13:38:57 +0300
commitc90ab3b74a14b752fa9f1783a149490ad6fc0a1a (patch)
tree68ae41cd7598cd62624fae08a4653e1452863c61 /plugins/TabSRMM/src/msgdlgother.cpp
parent355c813420090d59be0e098b29f2351c42e1d4ad (diff)
fixes #3194 (tabSRMM: ger rid of inverted logic)
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgother.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdlgother.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp
index 87725bbc14..65e2189083 100644
--- a/plugins/TabSRMM/src/msgdlgother.cpp
+++ b/plugins/TabSRMM/src/msgdlgother.cpp
@@ -1544,10 +1544,7 @@ int CMsgDialog::MsgWindowMenuHandler(int selection, int menuId)
void CMsgDialog::NotifyDeliveryFailure() const
{
- if (M.GetByte("adv_noErrorPopups", 0))
- return;
-
- if (!Popup_Enabled())
+ if (!M.GetByte("adv_ErrorPopups", 1) || !Popup_Enabled())
return;
POPUPDATAW ppd = {};