summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-10-30 22:17:14 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-10-30 22:17:14 +0300
commitb8cfe44100dbfbf6ca1dd204356cad622dcd073d (patch)
treeea158baa7eb031b96f4a62f1397497fd6870de2f
parentab9762aa4e52af06bff46965b2cbace0aa81d7ac (diff)
modified: messages.cpp
-rw-r--r--messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messages.cpp b/messages.cpp
index 86ad601..d1ee06d 100644
--- a/messages.cpp
+++ b/messages.cpp
@@ -749,7 +749,7 @@ int HookSendMsg(WPARAM w, LPARAM l)
DBEVENTINFO * dbei = (DBEVENTINFO*)l;
if((dbei->eventType == EVENTTYPE_MESSAGE) && (dbei->flags & DBEF_SENT))
{
- if(strstr((char*)dbei->pBlob, "-----BEGIN PGP MESSAGE-----")) //grrrr!
+ if(strstr((char*)dbei->pBlob, "-----BEGIN PGP MESSAGE-----") || strstr((char*)dbei->pBlob, "-----PGP KEY RESPONSE-----") || strstr((char*)dbei->pBlob, "-----PGP KEY REQUEST-----") || strstr((char*)dbei->pBlob, "-----PGP KEY RESPONSE-----")) //grrrr!
return 1;
HANDLE hContact = NULL;
if(!hcontact_data[(HANDLE)w].msgs_to_ignore.empty())