From 912f1514c3488014ac0174bd533f4bfeb1de0a44 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 17 Jan 2017 21:06:19 +0300 Subject: compilation fix --- plugins/StopSpamMod/src/utilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/StopSpamMod') diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp index 4a42cb136c..c68e5581bf 100755 --- a/plugins/StopSpamMod/src/utilities.cpp +++ b/plugins/StopSpamMod/src/utilities.cpp @@ -312,7 +312,7 @@ void CleanThread() void HistoryLog(MCONTACT hContact, char *data, int event_type, int flags) { - DBEVENTINFO Event = { sizeof(Event) }; + DBEVENTINFO Event = {}; Event.szModule = pluginName; Event.eventType = event_type; Event.flags = flags | DBEF_UTF; -- cgit v1.2.3