summaryrefslogtreecommitdiff
path: root/plugins/New_GPG
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2013-06-20 08:20:34 +0000
committerAlexander Gluzsky <sss123next@list.ru>2013-06-20 08:20:34 +0000
commit72923676660e9c6cf03bc7aafca71edd34e9c087 (patch)
tree39975c1023cd5a31681cd6dd551d0e1b6f24b81b /plugins/New_GPG
parenta2bd07c1b3996f834bf6b55e5a4223809020f993 (diff)
added additional check on outgoing message
git-svn-id: http://svn.miranda-ng.org/main/trunk@5057 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG')
-rwxr-xr-x[-rw-r--r--]plugins/New_GPG/src/messages.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/New_GPG/src/messages.cpp b/plugins/New_GPG/src/messages.cpp
index 0ec4cd1fea..a7239171b0 100644..100755
--- a/plugins/New_GPG/src/messages.cpp
+++ b/plugins/New_GPG/src/messages.cpp
@@ -800,6 +800,8 @@ INT_PTR SendMsgSvc(WPARAM w, LPARAM l)
CCSDATA *ccs = (CCSDATA*)l;
if (!ccs)
return CallService(MS_PROTO_CHAINSEND, w, l);
+ if(!ccs->lParam)
+ return CallService(MS_PROTO_CHAINSEND, w, l);
char *msg = nullptr;
if((ccs->wParam & PREF_UTF) == PREF_UTF)
msg = mir_strdup((char*)(ccs->lParam));