* Updates permission module so that GenericCommunicationPermission returns true. Instant messages, inventory transfers use this.. and it was always returning false.

0.6.0-stable
Teravus Ovares 2008-06-01 00:37:44 +00:00
parent 0c21f90ba7
commit 65db9eadef
1 changed files with 3 additions and 2 deletions

View File

@ -456,10 +456,11 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
#region Generic Permissions
protected bool GenericCommunicationPermission(LLUUID user, LLUUID target)
{
bool permission = false;
// Setting this to true so that cool stuff can happen until we define what determines Generic Communication Permission
bool permission = true;
string reason = "Only registered users may communicate with another account.";
// Uhh, we need to finish this before we enable it.. because it's blocking all sorts of goodies and features
if (IsAdministrator(user))
permission = true;