diff options
author | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
commit | b235c59d60472f818a9142c0886b95a0ff4191d7 (patch) | |
tree | d323c55587584b19cc43a03f58a178823f12d3cd /linden/indra/newview/llvoiceclient.cpp | |
parent | Second Life viewer sources 1.18.5.3 (diff) | |
download | meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.zip meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.gz meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.bz2 meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.xz |
Second Life viewer sources 1.18.6.0-RC
Diffstat (limited to 'linden/indra/newview/llvoiceclient.cpp')
-rw-r--r-- | linden/indra/newview/llvoiceclient.cpp | 12 |
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 | } |