summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/dbevent.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-08 15:49:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-08 15:49:18 +0000
commit62ab18a9fda2f19c08ae63a14c7a262ca62f0cce (patch)
tree821876224af8cb3e3f4b9b29ea3237212cde37e7 /plugins/SecureIM/src/dbevent.cpp
parent19a5e6f0b9c3232933132dbaa9420aecef497336 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@9732 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/dbevent.cpp')
-rw-r--r--plugins/SecureIM/src/dbevent.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/SecureIM/src/dbevent.cpp b/plugins/SecureIM/src/dbevent.cpp
index 5e38811d98..ae51a29c6a 100644
--- a/plugins/SecureIM/src/dbevent.cpp
+++ b/plugins/SecureIM/src/dbevent.cpp
@@ -1,17 +1,13 @@
#include "commonheaders.h"
-
void HistoryLog(MCONTACT hContact, LPCSTR szText)
{
DBEVENTINFO dbei = { sizeof(dbei) };
dbei.szModule = GetContactProto(hContact);
- dbei.flags = DBEF_SENT|DBEF_READ;
+ dbei.flags = DBEF_SENT | DBEF_READ;
dbei.timestamp = time(NULL);
dbei.eventType = EVENTTYPE_MESSAGE;
dbei.cbBlob = (int)strlen(szText) + 1;
dbei.pBlob = (PBYTE)szText;
db_event_add(0, &dbei);
}
-
-
-// EOF