summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_messages.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-04-08 20:10:21 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-04-08 20:10:21 +0000
commit79b9cfd9d1016335c2004d3cb188d8780ee7fcb9 (patch)
tree168092874d28bf31d2104bbe81a1c5b85bca8142 /protocols/Steam/src/steam_messages.cpp
parent8ab45308a3e218ac2638ec12f2203c68e11559b5 (diff)
Steam:
- fixed small issues - added initial api description git-svn-id: http://svn.miranda-ng.org/main/trunk@8895 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_messages.cpp')
-rw-r--r--protocols/Steam/src/steam_messages.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/protocols/Steam/src/steam_messages.cpp b/protocols/Steam/src/steam_messages.cpp
index 20496bc039..144d3d28a2 100644
--- a/protocols/Steam/src/steam_messages.cpp
+++ b/protocols/Steam/src/steam_messages.cpp
@@ -17,20 +17,7 @@ void CSteamProto::SendMessageThread(void *arg)
sendResult.IsSuccess() ? ACKRESULT_SUCCESS : ACKRESULT_FAILED,
param->hMessage, 0);
- if (sendResult.IsSuccess())
- {
- DBEVENTINFO dbei = { sizeof(dbei) };
- dbei.szModule = this->m_szModuleName;
- dbei.timestamp = sendResult.GetTimestamp();
- dbei.eventType = EVENTTYPE_MESSAGE;
- dbei.cbBlob = strlen(param->text);
- dbei.pBlob = (BYTE*)param->text;
- dbei.flags = DBEF_UTF | DBEF_SENT;
-
- db_event_add(param->hContact, &dbei);
- }
-
- //mir_free((void*)param->text);
+ mir_free((void*)param->text);
mir_free(param);
}