summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-03-30 12:19:30 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-03-30 12:19:30 +0000
commit1c5ea90c79527b9875325f856fa2d4afec0b7dd4 (patch)
treed49b002569575db13ab455b31ea800d4cb598263
parentf1b2e090d9a10b4fc6dc7326856cb5be81a1d4d8 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@8791 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/modules/chat/chat_svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/chat/chat_svc.cpp b/src/modules/chat/chat_svc.cpp
index 1239b624b0..32f6e2443c 100644
--- a/src/modules/chat/chat_svc.cpp
+++ b/src/modules/chat/chat_svc.cpp
@@ -154,7 +154,7 @@ static INT_PTR Service_GetInfo(WPARAM, LPARAM lParam)
static INT_PTR Service_Register(WPARAM, LPARAM lParam)
{
GCREGISTER *gcr = (GCREGISTER *)lParam;
- if (gcr == NULL)
+ if (gcr == NULL || gcr->pszModule == NULL)
return GC_REGISTER_ERROR;
if (gcr->cbSize != sizeof(GCREGISTER))