summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-19 20:28:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-19 20:28:04 +0300
commit74d73e1537585bfc4c33892b9ec47dc523af1ce4 (patch)
tree5b7dcbf23ad5532184785312be2936bc9f44482a /protocols/Gadu-Gadu/src
parent51150937be1bbbe52c764c43dac74fafe3da366e (diff)
if a protocol handles an event, it shall return 1, not 0
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r--protocols/Gadu-Gadu/src/groupchat.cpp4
1 files changed, 2 insertions, 2 deletions
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