From 2fc86642ef92214eb3b66ab83d83231f0a4366f9 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 24 Jan 2009 10:52:45 +0000 Subject: [PATCH] moved refreshing of masters in the client from the server browsers to before we load so we refresh while we are loading --- src/engine/client/ec_client.c | 2 +- src/engine/client/ec_srvbrowse.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c index 7bd97e3ec..bd0917aea 100644 --- a/src/engine/client/ec_client.c +++ b/src/engine/client/ec_client.c @@ -1618,7 +1618,7 @@ static void client_run() return; /* start refreshing addresses while we load */ - /* mastersrv_refresh_addresses(); */ + mastersrv_refresh_addresses(); /* init the editor */ editor_init(); diff --git a/src/engine/client/ec_srvbrowse.c b/src/engine/client/ec_srvbrowse.c index 99389c1d8..81712cb49 100644 --- a/src/engine/client/ec_srvbrowse.c +++ b/src/engine/client/ec_srvbrowse.c @@ -517,10 +517,7 @@ void client_serverbrowse_refresh(int type) dbg_msg("client", "broadcasting for servers"); } else if(type == BROWSETYPE_INTERNET) - { need_refresh = 1; - mastersrv_refresh_addresses(); - } else if(type == BROWSETYPE_FAVORITES) { int i;