summaryrefslogtreecommitdiff
path: root/protocols/Discord
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-01-31 19:48:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-01-31 19:48:57 +0300
commit7bb41bcc7824ab4ae248992df3ac82e6b148720f (patch)
treee150a54654f8735e0540ce92b79a521c68037e66 /protocols/Discord
parentbdd6a8a6b981a019e6818230077567b4fb51604c (diff)
useless wrappers removed & replaced with PROTO_INTERFACE method calls
Diffstat (limited to 'protocols/Discord')
-rw-r--r--protocols/Discord/src/proto.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp
index ab1253571e..0b450a9fda 100644
--- a/protocols/Discord/src/proto.cpp
+++ b/protocols/Discord/src/proto.cpp
@@ -337,8 +337,7 @@ int CDiscordProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *evt)
T2Utf szResUtf((const wchar_t*)evt->lParam);
evt->pCustomData = (char*)szResUtf;
evt->cbCustomDataSize = (DWORD)mir_strlen(szResUtf);
- Proto_RecvMessage(hContact, evt);
- return 0;
+ return CSuper::RecvMsg(hContact, evt);
}
////////////////////////////////////////////////////////////////////////////////////////