aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewernetwork.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewernetwork.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewernetwork.cpp b/linden/indra/newview/llviewernetwork.cpp
index 3224c00..c1de774 100644
--- a/linden/indra/newview/llviewernetwork.cpp
+++ b/linden/indra/newview/llviewernetwork.cpp
@@ -277,7 +277,22 @@ void LLViewerLogin::getLoginURIs(std::vector<std::string>& uris) const
277 277
278std::string LLViewerLogin::getHelperURI() const 278std::string LLViewerLogin::getHelperURI() const
279{ 279{
280 return gSavedSettings.getString("CmdLineHelperURI"); 280 std::string helper_uri = gSavedSettings.getString("CmdLineHelperURI");
281 if (helper_uri.empty())
282 {
283 // grab URI from selected grid
284 if(mGridChoice > GRID_INFO_NONE && mGridChoice < GRID_INFO_OTHER)
285 {
286 helper_uri = gGridInfo[mGridChoice].mHelperURI;
287 }
288
289 if (helper_uri.empty())
290 {
291 // what do we do with unnamed/miscellaneous grids?
292 // for now, operations that rely on the helper URI (currency/land purchasing) will fail
293 }
294 }
295 return helper_uri;
281} 296}
282 297
283bool LLViewerLogin::isInProductionGrid() 298bool LLViewerLogin::isInProductionGrid()