diff options
author | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
commit | a408bac29378072fbf36864164149458c978cfcc (patch) | |
tree | 67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/indra/newview/llagent.cpp | |
parent | Second Life viewer sources 1.17.0.12 (diff) | |
download | meta-impy-a408bac29378072fbf36864164149458c978cfcc.zip meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.gz meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.bz2 meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.xz |
Second Life viewer sources 1.17.1.0
Diffstat (limited to 'linden/indra/newview/llagent.cpp')
-rw-r--r-- | linden/indra/newview/llagent.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp index 83b8c0c..150e35f 100644 --- a/linden/indra/newview/llagent.cpp +++ b/linden/indra/newview/llagent.cpp | |||
@@ -2019,11 +2019,6 @@ void LLAgent::setAFK() | |||
2019 | return; | 2019 | return; |
2020 | } | 2020 | } |
2021 | 2021 | ||
2022 | if (!gAllowAFK) | ||
2023 | { | ||
2024 | return; | ||
2025 | } | ||
2026 | |||
2027 | if (!gAgent.getRegion()) | 2022 | if (!gAgent.getRegion()) |
2028 | { | 2023 | { |
2029 | // Don't set AFK if we're not talking to a region yet. | 2024 | // Don't set AFK if we're not talking to a region yet. |
@@ -4983,7 +4978,7 @@ BOOL LLAgent::allowOperation(PermissionBit op, | |||
4983 | const LLPermissions& perm, | 4978 | const LLPermissions& perm, |
4984 | U64 group_proxy_power, | 4979 | U64 group_proxy_power, |
4985 | U8 god_minimum) | 4980 | U8 god_minimum) |
4986 | { | 4981 | { |
4987 | // Check god level. | 4982 | // Check god level. |
4988 | if (getGodLevel() >= god_minimum) return TRUE; | 4983 | if (getGodLevel() >= god_minimum) return TRUE; |
4989 | 4984 | ||