From 999d22f6c3c618cde52097547e53703664d7e665 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 20 Jan 2020 19:32:28 +0300 Subject: db_event_delete: unused parameter removed --- protocols/Discord/src/dispatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Discord') diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp index 0c9f5e6dc6..43f569f7a3 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -518,7 +518,7 @@ void CDiscordProto::OnCommandMessageDelete(const JSONNode &pRoot) if (!msgid.IsEmpty()) { MEVENT hEvent = db_event_getById(m_szModuleName, msgid); if (hEvent) - db_event_delete(db_event_getContact(hEvent), hEvent); + db_event_delete(hEvent); } } -- cgit v1.2.3