summaryrefslogtreecommitdiff
path: root/plugins/Chat/services.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-27 08:05:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-27 08:05:12 +0000
commit248b320bc7e6ce0cfd6621d47a95b55e2264dd23 (patch)
tree5735f77b447dc0c1f41b9f1960dd4751cc6a0f83 /plugins/Chat/services.cpp
parent939b54967dcda681318271d203eedd1dcf5ce934 (diff)
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@646 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Chat/services.cpp')
-rw-r--r--plugins/Chat/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Chat/services.cpp b/plugins/Chat/services.cpp
index 6f305cc906..06e4f20cc8 100644
--- a/plugins/Chat/services.cpp
+++ b/plugins/Chat/services.cpp
@@ -501,7 +501,7 @@ static int DoControl(GCEVENT * gce, WPARAM wp)
break;
}
case SESSION_TERMINATE:
- return SM_RemoveSession(gce->pDest->ptszID, gce->pDest->pszModule);
+ return SM_RemoveSession(gce->pDest->ptszID, gce->pDest->pszModule, (gce->dwFlags & GCEF_REMOVECONTACT) != 0);
}
SM_SendMessage(gce->pDest->ptszID, gce->pDest->pszModule, GC_EVENT_CONTROL + WM_USER + 500, wp, 0);
}