summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-27 13:23:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-27 13:23:48 +0000
commitb1d29a5793fc80dd1c0d26e4ba900853fad41809 (patch)
tree27b294b057cd9bcf8b2ff9a1dd7b3dafbdcb1890 /plugins
parent79a1a399448f6942966054a347b1125bf38a3b68 (diff)
we don't allow EVENTTYPE_AUTHREQUEST to create new containers
git-svn-id: http://svn.miranda-ng.org/main/trunk@5151 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/mim.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp
index 865c267924..fd8ab5c693 100644
--- a/plugins/TabSRMM/src/mim.cpp
+++ b/plugins/TabSRMM/src/mim.cpp
@@ -767,7 +767,11 @@ int CMimAPI::MessageEventAdded(WPARAM wParam, LPARAM lParam)
}
else
return 0;
- } else {
+ }
+ else {
+ if (dbei.eventType == EVENTTYPE_AUTHREQUEST)
+ return 0;
+
if (dbei.eventType == EVENTTYPE_FILE) {
tabSRMM_ShowPopup(wParam, lParam, dbei.eventType, 0, 0, 0, dbei.szModule, 0);
return 0;