summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_contacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp
index 4d1a2bc498..8b3171298d 100644
--- a/protocols/Steam/src/steam_contacts.cpp
+++ b/protocols/Steam/src/steam_contacts.cpp
@@ -651,7 +651,11 @@ void CSteamProto::OnAuthRequested(const NETLIBHTTPREQUEST *response, void *arg)
pCurBlob += mir_strlen(steamId) + 1;
mir_strcpy((char*)pCurBlob, reason);
- AddDBEvent(hContact, EVENTTYPE_AUTHREQUEST, time(NULL), DBEF_UTF, cbBlob, pBlob);
+ PROTORECVEVENT recv = { 0 };
+ recv.timestamp = time(NULL);
+ recv.szMessage = (char*)pBlob;
+ recv.lParam = cbBlob;
+ Proto_AuthRecv(m_szModuleName, &recv);
}
json_delete(nodes);