diff options
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r-- | linden/indra/newview/llviewermessage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 67dc082..8739f5c 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -655,7 +655,7 @@ bool join_group_response(const LLSD& notification, const LLSD& response) | |||
655 | if(option == 0 && !group_id.isNull()) | 655 | if(option == 0 && !group_id.isNull()) |
656 | { | 656 | { |
657 | // check for promotion or demotion. | 657 | // check for promotion or demotion. |
658 | S32 max_groups = MAX_AGENT_GROUPS; | 658 | S32 max_groups = gHippoLimits->getMaxAgentGroups(); |
659 | if(gAgent.isInGroup(group_id)) ++max_groups; | 659 | if(gAgent.isInGroup(group_id)) ++max_groups; |
660 | 660 | ||
661 | if(gAgent.mGroups.count() < max_groups) | 661 | if(gAgent.mGroups.count() < max_groups) |