aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Services/GridService/GridService.cs12
-rwxr-xr-xOpenSim/Services/LLLoginService/LLLoginService.cs8
-rwxr-xr-xOpenSim/Services/UserAccountService/GridUserService.cs4
-rwxr-xr-xOpenSim/Services/UserAccountService/UserAccountService.cs34
4 files changed, 29 insertions, 29 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 3c961fe..40893a9 100755
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -787,7 +787,7 @@ namespace OpenSim.Services.GridService
787 787
788 if (!UUID.TryParse(rawRegionUuid, out regionUuid)) 788 if (!UUID.TryParse(rawRegionUuid, out regionUuid))
789 { 789 {
790 MainConsole.Instance.Output("{0} is not a valid region uuid", null, rawRegionUuid); 790 MainConsole.Instance.Output("{0} is not a valid region uuid", rawRegionUuid);
791 return; 791 return;
792 } 792 }
793 793
@@ -795,18 +795,18 @@ namespace OpenSim.Services.GridService
795 795
796 if (region == null) 796 if (region == null)
797 { 797 {
798 MainConsole.Instance.Output("No region with UUID {0}", null, regionUuid); 798 MainConsole.Instance.Output("No region with UUID {0}", regionUuid);
799 return; 799 return;
800 } 800 }
801 801
802 if (DeregisterRegion(regionUuid)) 802 if (DeregisterRegion(regionUuid))
803 { 803 {
804 MainConsole.Instance.Output("Deregistered {0} {1}", null, region.RegionName, regionUuid); 804 MainConsole.Instance.Output("Deregistered {0} {1}", region.RegionName, regionUuid);
805 } 805 }
806 else 806 else
807 { 807 {
808 // I don't think this can ever occur if we know that the region exists. 808 // I don't think this can ever occur if we know that the region exists.
809 MainConsole.Instance.Output("Error deregistering {0} {1}", null, region.RegionName, regionUuid); 809 MainConsole.Instance.Output("Error deregistering {0} {1}", region.RegionName, regionUuid);
810 } 810 }
811 } 811 }
812 } 812 }
@@ -843,7 +843,7 @@ namespace OpenSim.Services.GridService
843 MainConsole.Instance.Output("it will count regions that are inactive but were not deregistered from the grid service"); 843 MainConsole.Instance.Output("it will count regions that are inactive but were not deregistered from the grid service");
844 MainConsole.Instance.Output("(e.g. simulator crashed rather than shutting down cleanly).\n"); 844 MainConsole.Instance.Output("(e.g. simulator crashed rather than shutting down cleanly).\n");
845 845
846 MainConsole.Instance.Output("Grid size: {0} km squared.", null, size / 1000000); 846 MainConsole.Instance.Output("Grid size: {0} km squared.", size / 1000000);
847 } 847 }
848 848
849 private void HandleShowRegion(string module, string[] cmd) 849 private void HandleShowRegion(string module, string[] cmd)
@@ -892,7 +892,7 @@ namespace OpenSim.Services.GridService
892 892
893 if (region == null) 893 if (region == null)
894 { 894 {
895 MainConsole.Instance.Output("No region found at {0},{1}", null, x, y); 895 MainConsole.Instance.Output("No region found at {0},{1}", x, y);
896 return; 896 return;
897 } 897 }
898 898
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index 9b8ea37..8baaccb 100755
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -1126,22 +1126,22 @@ namespace OpenSim.Services.LLLoginService
1126 if (cmd.Length > 2) 1126 if (cmd.Length > 2)
1127 { 1127 {
1128 if (Int32.TryParse(cmd[2], out m_MinLoginLevel)) 1128 if (Int32.TryParse(cmd[2], out m_MinLoginLevel))
1129 MainConsole.Instance.Output("Set minimum login level to {0}", null, m_MinLoginLevel); 1129 MainConsole.Instance.Output("Set minimum login level to {0}", m_MinLoginLevel);
1130 else 1130 else
1131 MainConsole.Instance.Output("ERROR: {0} is not a valid login level", null, cmd[2]); 1131 MainConsole.Instance.Output("ERROR: {0} is not a valid login level", cmd[2]);
1132 } 1132 }
1133 break; 1133 break;
1134 1134
1135 case "reset": 1135 case "reset":
1136 m_MinLoginLevel = m_LoginServerConfig.GetInt("MinLoginLevel", 0); 1136 m_MinLoginLevel = m_LoginServerConfig.GetInt("MinLoginLevel", 0);
1137 MainConsole.Instance.Output("Reset min login level to {0}", null, m_MinLoginLevel); 1137 MainConsole.Instance.Output("Reset min login level to {0}", m_MinLoginLevel);
1138 break; 1138 break;
1139 1139
1140 case "text": 1140 case "text":
1141 if (cmd.Length > 2) 1141 if (cmd.Length > 2)
1142 { 1142 {
1143 m_WelcomeMessage = cmd[2]; 1143 m_WelcomeMessage = cmd[2];
1144 MainConsole.Instance.Output("Login welcome message set to '{0}'", null, m_WelcomeMessage); 1144 MainConsole.Instance.Output("Login welcome message set to '{0}'", m_WelcomeMessage);
1145 } 1145 }
1146 break; 1146 break;
1147 } 1147 }
diff --git a/OpenSim/Services/UserAccountService/GridUserService.cs b/OpenSim/Services/UserAccountService/GridUserService.cs
index 6cea69f..d1e92ab 100755
--- a/OpenSim/Services/UserAccountService/GridUserService.cs
+++ b/OpenSim/Services/UserAccountService/GridUserService.cs
@@ -94,7 +94,7 @@ namespace OpenSim.Services.UserAccountService
94 MainConsole.Instance.Output(cdl.ToString()); 94 MainConsole.Instance.Output(cdl.ToString());
95 } 95 }
96 96
97 MainConsole.Instance.Output("Entries: {0}", null, data.Length); 97 MainConsole.Instance.Output("Entries: {0}", data.Length);
98 } 98 }
99 99
100 protected void HandleShowGridUsersOnline(string module, string[] cmdparams) 100 protected void HandleShowGridUsersOnline(string module, string[] cmdparams)
@@ -123,7 +123,7 @@ namespace OpenSim.Services.UserAccountService
123 } 123 }
124 } 124 }
125 125
126 MainConsole.Instance.Output("Users online: {0}", null, onlineRecentlyCount); 126 MainConsole.Instance.Output("Users online: {0}", onlineRecentlyCount);
127 } 127 }
128 128
129 private GridUserData GetGridUserData(string userID) 129 private GridUserData GetGridUserData(string userID)
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs
index 5270799..c51b9eb 100755
--- a/OpenSim/Services/UserAccountService/UserAccountService.cs
+++ b/OpenSim/Services/UserAccountService/UserAccountService.cs
@@ -434,19 +434,19 @@ namespace OpenSim.Services.UserAccountService
434 434
435 if (ua == null) 435 if (ua == null)
436 { 436 {
437 MainConsole.Instance.Output("No user named {0} {1}", null, firstName, lastName); 437 MainConsole.Instance.Output("No user named {0} {1}", firstName, lastName);
438 return; 438 return;
439 } 439 }
440 440
441 MainConsole.Instance.Output("Name: {0}", null, ua.Name); 441 MainConsole.Instance.Output("Name: {0}", ua.Name);
442 MainConsole.Instance.Output("ID: {0}", null, ua.PrincipalID); 442 MainConsole.Instance.Output("ID: {0}", ua.PrincipalID);
443 MainConsole.Instance.Output("Title: {0}", null, ua.UserTitle); 443 MainConsole.Instance.Output("Title: {0}", ua.UserTitle);
444 MainConsole.Instance.Output("E-mail: {0}", null, ua.Email); 444 MainConsole.Instance.Output("E-mail: {0}", ua.Email);
445 MainConsole.Instance.Output("Created: {0}", null, Utils.UnixTimeToDateTime(ua.Created)); 445 MainConsole.Instance.Output("Created: {0}", Utils.UnixTimeToDateTime(ua.Created));
446 MainConsole.Instance.Output("Level: {0}", null, ua.UserLevel); 446 MainConsole.Instance.Output("Level: {0}", ua.UserLevel);
447 MainConsole.Instance.Output("Flags: {0}", null, ua.UserFlags); 447 MainConsole.Instance.Output("Flags: {0}", ua.UserFlags);
448 foreach (KeyValuePair<string, Object> kvp in ua.ServiceURLs) 448 foreach (KeyValuePair<string, Object> kvp in ua.ServiceURLs)
449 MainConsole.Instance.Output("{0}: {1}", null, kvp.Key, kvp.Value); 449 MainConsole.Instance.Output("{0}: {1}", kvp.Key, kvp.Value);
450 } 450 }
451 451
452 protected void HandleResetUserPassword(string module, string[] cmdparams) 452 protected void HandleResetUserPassword(string module, string[] cmdparams)
@@ -470,7 +470,7 @@ namespace OpenSim.Services.UserAccountService
470 UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName); 470 UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName);
471 if (account == null) 471 if (account == null)
472 { 472 {
473 MainConsole.Instance.Output("No such user as {0} {1}", null, firstName, lastName); 473 MainConsole.Instance.Output("No such user as {0} {1}", firstName, lastName);
474 return; 474 return;
475 } 475 }
476 476
@@ -479,9 +479,9 @@ namespace OpenSim.Services.UserAccountService
479 success = m_AuthenticationService.SetPassword(account.PrincipalID, newPassword); 479 success = m_AuthenticationService.SetPassword(account.PrincipalID, newPassword);
480 480
481 if (!success) 481 if (!success)
482 MainConsole.Instance.Output("Unable to reset password for account {0} {1}.", null, firstName, lastName); 482 MainConsole.Instance.Output("Unable to reset password for account {0} {1}.", firstName, lastName);
483 else 483 else
484 MainConsole.Instance.Output("Password reset for user {0} {1}", null, firstName, lastName); 484 MainConsole.Instance.Output("Password reset for user {0} {1}", firstName, lastName);
485 } 485 }
486 486
487 protected void HandleResetUserEmail(string module, string[] cmdparams) 487 protected void HandleResetUserEmail(string module, string[] cmdparams)
@@ -505,7 +505,7 @@ namespace OpenSim.Services.UserAccountService
505 UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName); 505 UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName);
506 if (account == null) 506 if (account == null)
507 { 507 {
508 MainConsole.Instance.Output("No such user as {0} {1}", null, firstName, lastName); 508 MainConsole.Instance.Output("No such user as {0} {1}", firstName, lastName);
509 return; 509 return;
510 } 510 }
511 511
@@ -515,9 +515,9 @@ namespace OpenSim.Services.UserAccountService
515 515
516 success = StoreUserAccount(account); 516 success = StoreUserAccount(account);
517 if (!success) 517 if (!success)
518 MainConsole.Instance.Output("Unable to set Email for account {0} {1}.", null, firstName, lastName); 518 MainConsole.Instance.Output("Unable to set Email for account {0} {1}.", firstName, lastName);
519 else 519 else
520 MainConsole.Instance.Output("User Email set for user {0} {1} to {2}", null, firstName, lastName, account.Email); 520 MainConsole.Instance.Output("User Email set for user {0} {1} to {2}", firstName, lastName, account.Email);
521 } 521 }
522 522
523 523
@@ -555,9 +555,9 @@ namespace OpenSim.Services.UserAccountService
555 555
556 bool success = StoreUserAccount(account); 556 bool success = StoreUserAccount(account);
557 if (!success) 557 if (!success)
558 MainConsole.Instance.Output("Unable to set user level for account {0} {1}.", null, firstName, lastName); 558 MainConsole.Instance.Output("Unable to set user level for account {0} {1}.", firstName, lastName);
559 else 559 else
560 MainConsole.Instance.Output("User level set for user {0} {1} to {2}", null, firstName, lastName, level); 560 MainConsole.Instance.Output("User level set for user {0} {1} to {2}", firstName, lastName, level);
561 } 561 }
562 562
563 #endregion 563 #endregion