From 436e303e24e5046d6cc52ac3da51a0b51adbef36 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Jun 2020 18:35:21 +0300 Subject: simpler way of applying server ids to messages --- plugins/Boltun/src/actionQueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Boltun/src') diff --git a/plugins/Boltun/src/actionQueue.cpp b/plugins/Boltun/src/actionQueue.cpp index f31d1c6f75..52873c80ac 100644 --- a/plugins/Boltun/src/actionQueue.cpp +++ b/plugins/Boltun/src/actionQueue.cpp @@ -93,8 +93,8 @@ static void TimerAnswer(MCONTACT hContact, const TalkBot::MessageInfo* info) dbei.flags = DBEF_SENT | DBEF_UTF; dbei.szModule = BOLTUN_NAME; dbei.timestamp = (DWORD)time(0); - db_event_add(hContact, &dbei); + bot->AnswerGiven(hContact, *info); delete info; -- cgit v1.2.3