diff options
Diffstat (limited to 'protocols/Steam/src/steam_server.cpp')
-rw-r--r-- | protocols/Steam/src/steam_server.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_server.cpp b/protocols/Steam/src/steam_server.cpp index a93c7ae696..f8c206c0e0 100644 --- a/protocols/Steam/src/steam_server.cpp +++ b/protocols/Steam/src/steam_server.cpp @@ -22,6 +22,9 @@ void __cdecl CSteamProto::ServerThread(void *) // load web socket servers first if needed int iTimeDiff = db_get_dw(0, STEAM_MODULE, DBKEY_HOSTS_DATE); if (!db_get_dw(0, STEAM_MODULE, DBKEY_HOSTS_COUNT) || time(0) - iTimeDiff > 3600 * 24 * 7) { // once a week - // if (!SendRequest()) + if (!SendRequest(new GetHostsRequest(), &CSteamProto::OnGotHosts)) { + LoginFailed(); + return; + } } } |