diff options
Diffstat (limited to 'plugins/MirLua/src')
-rw-r--r-- | plugins/MirLua/src/Modules/m_database.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/Modules/m_database.cpp b/plugins/MirLua/src/Modules/m_database.cpp index d4f5a051be..f00887a7da 100644 --- a/plugins/MirLua/src/Modules/m_database.cpp +++ b/plugins/MirLua/src/Modules/m_database.cpp @@ -327,10 +327,10 @@ static int db_AddEvent(lua_State *L) { MCONTACT hContact = luaL_optinteger(L, 1, 0); - DBEVENTINFO dbei; + DBEVENTINFO dbei = {}; MakeDbEvent(L, dbei); - MEVENT hDbEvent = db_event_add(hContact, &dbei); + MEVENT hDbEvent = db_event_add(hContact, &dbei); if (hDbEvent) lua_pushnumber(L, hDbEvent); else |