aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid
diff options
context:
space:
mode:
authorTeravus Ovares2008-04-13 22:47:12 +0000
committerTeravus Ovares2008-04-13 22:47:12 +0000
commitbe93c0f29a888db26676347f7011b66dff3d7499 (patch)
tree6647a7fe1c8aaa6e8306ebee4ec960babdf0d0ea /OpenSim/Grid
parent* Temporarily, stop the exception of mantis #951 from killing the entire clie... (diff)
downloadopensim-SC-be93c0f29a888db26676347f7011b66dff3d7499.zip
opensim-SC-be93c0f29a888db26676347f7011b66dff3d7499.tar.gz
opensim-SC-be93c0f29a888db26676347f7011b66dff3d7499.tar.bz2
opensim-SC-be93c0f29a888db26676347f7011b66dff3d7499.tar.xz
* Fix a bug in the friends module that causes a friend not to appear online when they were.
* A few things for testing. * This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself. It will not cause any errors, if either one are not updated.
Diffstat (limited to 'OpenSim/Grid')
-rw-r--r--OpenSim/Grid/GridServer/GridManager.cs17
1 files changed, 16 insertions, 1 deletions
diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs
index 7b41f6e..ba526c0 100644
--- a/OpenSim/Grid/GridServer/GridManager.cs
+++ b/OpenSim/Grid/GridServer/GridManager.cs
@@ -530,7 +530,22 @@ namespace OpenSim.Grid.GridServer
530 530
531 sim.regionRecvKey = String.Empty; 531 sim.regionRecvKey = String.Empty;
532 sim.regionSendKey = String.Empty; 532 sim.regionSendKey = String.Empty;
533 sim.regionSecret = Config.SimRecvKey; 533
534 if (requestData.ContainsKey("region_secret"))
535 {
536 string regionsecret = (string)requestData["region_secret"];
537 if (regionsecret.Length > 0)
538 sim.regionSecret = regionsecret;
539 else
540 sim.regionSecret = Config.SimRecvKey;
541
542 }
543 else
544 {
545 sim.regionSecret = Config.SimRecvKey;
546 }
547
548
534 sim.regionDataURI = String.Empty; 549 sim.regionDataURI = String.Empty;
535 sim.regionAssetURI = Config.DefaultAssetServer; 550 sim.regionAssetURI = Config.DefaultAssetServer;
536 sim.regionAssetRecvKey = Config.AssetRecvKey; 551 sim.regionAssetRecvKey = Config.AssetRecvKey;