diff options
author | Melanie Thielker | 2017-01-07 20:38:30 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-07 20:38:30 +0000 |
commit | e58903be6f745f7fca2a8d652e0f2d9a9283a04f (patch) | |
tree | 8b87e0524af7f610671a13f5e872f92dd8ef9a4e /OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | |
parent | Change improperly named isNPC to be IsNPC as a property should be uppercase (diff) | |
download | opensim-SC_OLD-e58903be6f745f7fca2a8d652e0f2d9a9283a04f.zip opensim-SC_OLD-e58903be6f745f7fca2a8d652e0f2d9a9283a04f.tar.gz opensim-SC_OLD-e58903be6f745f7fca2a8d652e0f2d9a9283a04f.tar.bz2 opensim-SC_OLD-e58903be6f745f7fca2a8d652e0f2d9a9283a04f.tar.xz |
Correct casing on isGod and isViewerUIGod
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs index 5579dd0..ea90185 100644 --- a/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs | |||
@@ -229,7 +229,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat | |||
229 | fromPos = avatar.AbsolutePosition; | 229 | fromPos = avatar.AbsolutePosition; |
230 | fromName = avatar.Name; | 230 | fromName = avatar.Name; |
231 | fromID = c.Sender.AgentId; | 231 | fromID = c.Sender.AgentId; |
232 | if (avatar.isViewerUIGod) | 232 | if (avatar.IsViewerUIGod) |
233 | { // let gods speak to outside or things may get confusing | 233 | { // let gods speak to outside or things may get confusing |
234 | fromNamePrefix = m_adminPrefix; | 234 | fromNamePrefix = m_adminPrefix; |
235 | checkParcelHide = false; | 235 | checkParcelHide = false; |
@@ -305,7 +305,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat | |||
305 | { | 305 | { |
306 | if (checkParcelHide) | 306 | if (checkParcelHide) |
307 | { | 307 | { |
308 | if (sourceParcelID != Presencecheck.LandData.GlobalID && !presence.isViewerUIGod) | 308 | if (sourceParcelID != Presencecheck.LandData.GlobalID && !presence.IsViewerUIGod) |
309 | return; | 309 | return; |
310 | } | 310 | } |
311 | if (c.Sender == null || Presencecheck.IsEitherBannedOrRestricted(c.Sender.AgentId) != true) | 311 | if (c.Sender == null || Presencecheck.IsEitherBannedOrRestricted(c.Sender.AgentId) != true) |