summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_misc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-06-17 12:05:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-06-17 12:05:34 +0300
commitd15eafcbfa1b78bb0eeacb4261402af5f918c1a5 (patch)
tree8fabb3f016ec8f929c653e4f889241b197cce098 /protocols/JabberG/src/jabber_misc.cpp
parent76a4d0edd9170c8ae8adf73733ce78052f9af287 (diff)
Jabber: option to disable popups
Diffstat (limited to 'protocols/JabberG/src/jabber_misc.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_misc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp
index 3e69ae75a5..0350f28ad3 100755
--- a/protocols/JabberG/src/jabber_misc.cpp
+++ b/protocols/JabberG/src/jabber_misc.cpp
@@ -423,6 +423,9 @@ void CJabberProto::InitPopups(void)
void CJabberProto::MsgPopup(MCONTACT hContact, const wchar_t *szMsg, const wchar_t *szTitle)
{
+ if (!m_bUsePopups)
+ return;
+
char name[256];
mir_snprintf(name, "%s_%s", m_szModuleName, "Error");