mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-03-09 12:55:58 +01:00
Simplify output of update check
This commit is contained in:
parent
6b4010d9c5
commit
8d690a920e
@ -151,20 +151,9 @@ int Downloader::login()
|
|||||||
|
|
||||||
void Downloader::updateCheck()
|
void Downloader::updateCheck()
|
||||||
{
|
{
|
||||||
if (gogAPI->user.notifications_forum)
|
std::cout << "New forum replies: " << gogAPI->user.notifications_forum << std::endl;
|
||||||
std::cout << gogAPI->user.notifications_forum << " new forum replies" << std::endl;
|
std::cout << "New private messages: " << gogAPI->user.notifications_messages << std::endl;
|
||||||
else
|
std::cout << "Updated games: " << gogAPI->user.notifications_games << std::endl;
|
||||||
std::cout << "No new forum replies" << std::endl;
|
|
||||||
|
|
||||||
if (gogAPI->user.notifications_messages)
|
|
||||||
std::cout << gogAPI->user.notifications_messages << " new private message(s)" << std::endl;
|
|
||||||
else
|
|
||||||
std::cout << "No new private messages" << std::endl;
|
|
||||||
|
|
||||||
if (gogAPI->user.notifications_games)
|
|
||||||
std::cout << gogAPI->user.notifications_games << " updated game(s)" << std::endl;
|
|
||||||
else
|
|
||||||
std::cout << "No updated games" << std::endl;
|
|
||||||
|
|
||||||
if (gogAPI->user.notifications_games)
|
if (gogAPI->user.notifications_games)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user