diff options
author | UbitUmarov | 2017-06-14 20:19:13 +0100 |
---|---|---|
committer | UbitUmarov | 2017-06-14 20:19:13 +0100 |
commit | d9a300fa8e680ec3f41f966e87408e58f3aa0e39 (patch) | |
tree | 9cd459dda394a3f4ec8bfe258127269214806645 /OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs | |
parent | remove options about script compilers the got back somehow on defaults also (diff) | |
download | opensim-SC_OLD-d9a300fa8e680ec3f41f966e87408e58f3aa0e39.zip opensim-SC_OLD-d9a300fa8e680ec3f41f966e87408e58f3aa0e39.tar.gz opensim-SC_OLD-d9a300fa8e680ec3f41f966e87408e58f3aa0e39.tar.bz2 opensim-SC_OLD-d9a300fa8e680ec3f41f966e87408e58f3aa0e39.tar.xz |
some cleanup.. remove some stats that only some do look at once on a lifetime
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs index 82154bc..fae1e05 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/HGFriendsModule.cs | |||
@@ -214,7 +214,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
214 | FriendInfo[] friends = GetFriendsFromCache(client.AgentId); | 214 | FriendInfo[] friends = GetFriendsFromCache(client.AgentId); |
215 | foreach (FriendInfo f in friends) | 215 | foreach (FriendInfo f in friends) |
216 | { | 216 | { |
217 | client.SendChangeUserRights(new UUID(f.Friend), client.AgentId, f.TheirFlags); | 217 | int rights = f.TheirFlags; |
218 | if(rights != -1 ) | ||
219 | client.SendChangeUserRights(new UUID(f.Friend), client.AgentId, rights); | ||
218 | } | 220 | } |
219 | } | 221 | } |
220 | } | 222 | } |