From 74d73e1537585bfc4c33892b9ec47dc523af1ce4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 19 Feb 2020 20:28:04 +0300 Subject: if a protocol handles an event, it shall return 1, not 0 --- protocols/Gadu-Gadu/src/groupchat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Gadu-Gadu/src') diff --git a/protocols/Gadu-Gadu/src/groupchat.cpp b/protocols/Gadu-Gadu/src/groupchat.cpp index 7d09dfc691..51ce62d926 100644 --- a/protocols/Gadu-Gadu/src/groupchat.cpp +++ b/protocols/Gadu-Gadu/src/groupchat.cpp @@ -184,9 +184,9 @@ int GaduProto::gc_event(WPARAM, LPARAM lParam) if ((uin = _wtoi(gch->ptszUID)) && (hContact = getcontact(uin, 1, 0, nullptr))) CallService(MS_MSG_SENDMESSAGE, hContact, 0); } - debugLogW(L"gc_event(): Unhandled event %d, chat %x, uin %d, text \"%s\".", gch->iType, chat, uin, gch->ptszText); - return 0; + debugLogW(L"gc_event(): Unhandled event %d, chat %x, uin %d, text \"%s\".", gch->iType, chat, uin, gch->ptszText); + return 1; } typedef struct _gg_gc_echat -- cgit v1.2.3