diff options
author | Teravus Ovares | 2008-06-01 00:37:44 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-06-01 00:37:44 +0000 |
commit | 65db9eadef50505cea3e6c79a5004667ff90702b (patch) | |
tree | 167d3de9277b18b0fe2c0ee8dd56693fa6424e86 /OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | |
parent | * Duh, actually returning from the CreateAsset method once we know the asset ... (diff) | |
download | opensim-SC-65db9eadef50505cea3e6c79a5004667ff90702b.zip opensim-SC-65db9eadef50505cea3e6c79a5004667ff90702b.tar.gz opensim-SC-65db9eadef50505cea3e6c79a5004667ff90702b.tar.bz2 opensim-SC-65db9eadef50505cea3e6c79a5004667ff90702b.tar.xz |
* Updates permission module so that GenericCommunicationPermission returns true. Instant messages, inventory transfers use this.. and it was always returning false.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs index 9dcb88c..50257d6 100644 --- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs | |||
@@ -456,10 +456,11 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions | |||
456 | #region Generic Permissions | 456 | #region Generic Permissions |
457 | protected bool GenericCommunicationPermission(LLUUID user, LLUUID target) | 457 | protected bool GenericCommunicationPermission(LLUUID user, LLUUID target) |
458 | { | 458 | { |
459 | bool permission = false; | 459 | // Setting this to true so that cool stuff can happen until we define what determines Generic Communication Permission |
460 | bool permission = true; | ||
460 | string reason = "Only registered users may communicate with another account."; | 461 | string reason = "Only registered users may communicate with another account."; |
461 | 462 | ||
462 | 463 | // Uhh, we need to finish this before we enable it.. because it's blocking all sorts of goodies and features | |
463 | if (IsAdministrator(user)) | 464 | if (IsAdministrator(user)) |
464 | permission = true; | 465 | permission = true; |
465 | 466 | ||