aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoiceclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llvoiceclient.cpp')
-rw-r--r--linden/indra/newview/llvoiceclient.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llvoiceclient.cpp b/linden/indra/newview/llvoiceclient.cpp
index f6f7ce7..cf6b13e 100644
--- a/linden/indra/newview/llvoiceclient.cpp
+++ b/linden/indra/newview/llvoiceclient.cpp
@@ -42,12 +42,12 @@
42#include "expat/expat.h" 42#include "expat/expat.h"
43#include "llcallbacklist.h" 43#include "llcallbacklist.h"
44#include "llviewerregion.h" 44#include "llviewerregion.h"
45#include "llviewernetwork.h" // for gUserServerChoice 45#include "llviewernetwork.h" // for gGridChoice
46#include "llfloateractivespeakers.h" // for LLSpeakerMgr 46#include "llfloateractivespeakers.h" // for LLSpeakerMgr
47#include "llbase64.h" 47#include "llbase64.h"
48#include "llviewercontrol.h" 48#include "llviewercontrol.h"
49#include "llkeyboard.h" 49#include "llkeyboard.h"
50#include "viewer.h" // for gDisconnected, gDisableVoice 50#include "llappviewer.h" // for gDisconnected, gDisableVoice
51#include "llmutelist.h" // to check for muted avatars 51#include "llmutelist.h" // to check for muted avatars
52#include "llagent.h" 52#include "llagent.h"
53#include "llcachename.h" 53#include "llcachename.h"
@@ -1052,10 +1052,10 @@ void LLVoiceClient::userAuthorized(const std::string& firstName, const std::stri
1052 1052
1053 llinfos << "name \"" << mAccountDisplayName << "\" , ID " << agentID << llendl; 1053 llinfos << "name \"" << mAccountDisplayName << "\" , ID " << agentID << llendl;
1054 1054
1055 std::string userserver = gUserServerName; 1055 std::string gridname = gGridName;
1056 LLString::toLower(userserver); 1056 LLString::toLower(gridname);
1057 if((gUserServerChoice == USERSERVER_AGNI) || 1057 if((gGridChoice == GRID_INFO_AGNI) ||
1058 ((gUserServerChoice == USERSERVER_OTHER) && (userserver.find("agni") != std::string::npos))) 1058 ((gGridChoice == GRID_INFO_OTHER) && (gridname.find("agni") != std::string::npos)))
1059 { 1059 {
1060 sConnectingToAgni = true; 1060 sConnectingToAgni = true;
1061 } 1061 }