diff options
author | George Hazan <ghazan@miranda.im> | 2020-04-28 13:46:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-04-28 13:46:19 +0300 |
commit | e4082ab57edbb790f721fed477532f93ff1986b8 (patch) | |
tree | a6f09b2ae1d0df1a47dec13b1ea096bfa782e9c5 /protocols/Discord/src | |
parent | 5402e71b923712624d6df9aad6f3983ba4e44f4e (diff) |
database:
- namespace DB declared for commonly used database classes;
- stubs for database event cursors;
- code cleaning
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r-- | protocols/Discord/src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/utils.cpp b/protocols/Discord/src/utils.cpp index d2b8f701d3..eac8d02a2b 100644 --- a/protocols/Discord/src/utils.cpp +++ b/protocols/Discord/src/utils.cpp @@ -315,7 +315,7 @@ void CDiscordProto::ProcessType(CDiscordUser *pUser, const JSONNode &pRoot) setByte(pUser->hContact, DB_KEY_REQAUTH, 1); CMStringA szId(FORMAT, "%lld", pUser->id); - DB_AUTH_BLOB blob(pUser->hContact, T2Utf(pUser->wszUsername), nullptr, nullptr, szId, nullptr); + DB::AUTH_BLOB blob(pUser->hContact, T2Utf(pUser->wszUsername), nullptr, nullptr, szId, nullptr); PROTORECVEVENT pre = { 0 }; pre.timestamp = (DWORD)time(0); |