diff options
author | UbitUmarov | 2014-08-02 22:45:28 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-02 22:45:28 +0100 |
commit | e87f70e277e78fb37100b2750fcb09b3aacb1734 (patch) | |
tree | c4f1bba22121b1059ba2301332e9c24f0dc416a2 /OpenSim/Region/CoreModules/Avatar | |
parent | let gods see hidden avatars ( test ) (diff) | |
download | opensim-SC_OLD-e87f70e277e78fb37100b2750fcb09b3aacb1734.zip opensim-SC_OLD-e87f70e277e78fb37100b2750fcb09b3aacb1734.tar.gz opensim-SC_OLD-e87f70e277e78fb37100b2750fcb09b3aacb1734.tar.bz2 opensim-SC_OLD-e87f70e277e78fb37100b2750fcb09b3aacb1734.tar.xz |
god also read local chat
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs index 9b41083..71ceb65 100644 --- a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | |||
@@ -238,10 +238,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat | |||
238 | if (avatar.GodLevel >= 200) | 238 | if (avatar.GodLevel >= 200) |
239 | { | 239 | { |
240 | fromNamePrefix = m_adminPrefix; | 240 | fromNamePrefix = m_adminPrefix; |
241 | checkParcelHide = false; | ||
242 | } | ||
243 | else | ||
244 | { | ||
245 | checkParcelHide = true; | ||
241 | } | 246 | } |
242 | destination = UUID.Zero; // Avatars cant "SayTo" | 247 | destination = UUID.Zero; // Avatars cant "SayTo" |
243 | ownerID = c.Sender.AgentId; | 248 | ownerID = c.Sender.AgentId; |
244 | checkParcelHide = true; | 249 | |
245 | hidePos = fromPos; | 250 | hidePos = fromPos; |
246 | break; | 251 | break; |
247 | 252 | ||