From 7bb41bcc7824ab4ae248992df3ac82e6b148720f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 31 Jan 2018 19:48:57 +0300 Subject: useless wrappers removed & replaced with PROTO_INTERFACE method calls --- protocols/Steam/src/steam_history.cpp | 2 +- protocols/Steam/src/steam_polling.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Steam/src') diff --git a/protocols/Steam/src/steam_history.cpp b/protocols/Steam/src/steam_history.cpp index d78da4b4bd..987b96ecea 100644 --- a/protocols/Steam/src/steam_history.cpp +++ b/protocols/Steam/src/steam_history.cpp @@ -74,6 +74,6 @@ void CSteamProto::OnGotHistoryMessages(const JSONNode &root, void *arg) if (IsMe(steamId)) recv.flags = PREF_SENT; - Proto_RecvMessage(hContact, &recv); + RecvMsg(hContact, &recv); } } diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp index b2a85ff670..24b9047d9b 100644 --- a/protocols/Steam/src/steam_polling.cpp +++ b/protocols/Steam/src/steam_polling.cpp @@ -21,7 +21,7 @@ void CSteamProto::ParsePollData(const JSONNode &data) recv.timestamp = timestamp; recv.szMessage = (char*)text.c_str(); recv.flags = PREF_SENT; - Proto_RecvMessage(hContact, &recv); + RecvMsg(hContact, &recv); } else if (type == "saytext" || type =="emote") { json_string text = item["text"].as_string(); -- cgit v1.2.3