summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorBill Curtis <bill.curtis@gmail.com>2010-11-08 10:54:58 -0800
committerBill Curtis <bill.curtis@gmail.com>2010-11-08 10:54:58 -0800
commit3fa059409aad9d7b5aedb4ed112cb52da6990ac4 (patch)
tree533d4ea13d515f9ab1c045139b159ea89723d815 /indra/newview/llviewermessage.cpp
parent65d847de38614a67ed1bdd86445c1c80f4638cc3 (diff)
changes to read max-agent-groups from login.cgi response
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index c35173a7d4..14e0d49088 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -633,7 +633,7 @@ bool join_group_response(const LLSD& notification, const LLSD& response)
if(option == 0 && !group_id.isNull())
{
// check for promotion or demotion.
- S32 max_groups = MAX_AGENT_GROUPS;
+ S32 max_groups = gMaxAgentGroups;
if(gAgent.isInGroup(group_id)) ++max_groups;
if(gAgent.mGroups.count() < max_groups)