diff options
author | aunsane <aunsane@gmail.com> | 2018-02-07 21:24:20 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-02-07 21:24:20 +0300 |
commit | a0905e751e2524f63d2468c2063191143b51785e (patch) | |
tree | a34ba66541b47c511d0e5fcb1d6088d9310b7f95 /protocols/Steam/src/steam_proto.cpp | |
parent | 18d9a96928b22e847967b41a89eec6f636a260b2 (diff) |
Steam:
- set default timeout for request in 3 sec
- clean geme info when contact goes offline
Diffstat (limited to 'protocols/Steam/src/steam_proto.cpp')
-rw-r--r-- | protocols/Steam/src/steam_proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index b3ba3024bc..586565c8cb 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -51,7 +51,7 @@ CSteamProto::CSteamProto(const char* protoName, const wchar_t* userName) db_set_resident(m_szModuleName, "ServerIP"); db_set_resident(m_szModuleName, "ServerID"); - setAllContactStatuses(ID_STATUS_OFFLINE); + SetAllContactStatuses(ID_STATUS_OFFLINE); // avatar API CreateProtoService(PS_GETAVATARINFO, &CSteamProto::GetAvatarInfo); @@ -288,7 +288,7 @@ int CSteamProto::SetStatus(int new_status) m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE; if (!Miranda_IsTerminated()) - setAllContactStatuses(ID_STATUS_OFFLINE); + SetAllContactStatuses(ID_STATUS_OFFLINE); Logout(); } |