diff options
author | Jeff Ames | 2008-08-18 00:39:10 +0000 |
---|---|---|
committer | Jeff Ames | 2008-08-18 00:39:10 +0000 |
commit | 6ef9d4da901a346c232458317cca6268da888e2e (patch) | |
tree | dd1d935b10f34f261839da9f9879c02322e8ede7 /OpenSim/ApplicationPlugins/RemoteController | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.zip opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.gz opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.bz2 opensim-SC-6ef9d4da901a346c232458317cca6268da888e2e.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 256e862..c79122c 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -56,8 +56,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
56 | public string Version { get { return m_version; } } | 56 | public string Version { get { return m_version; } } |
57 | public string Name { get { return m_name; } } | 57 | public string Name { get { return m_name; } } |
58 | 58 | ||
59 | public void Initialise() | 59 | public void Initialise() |
60 | { | 60 | { |
61 | m_log.Info("[RADMIN]: " + Name + " cannot be default-initialized!"); | 61 | m_log.Info("[RADMIN]: " + Name + " cannot be default-initialized!"); |
62 | throw new PluginNotInitialisedException (Name); | 62 | throw new PluginNotInitialisedException (Name); |
63 | } | 63 | } |
@@ -512,7 +512,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
512 | try | 512 | try |
513 | { | 513 | { |
514 | Hashtable requestData = (Hashtable) request.Params[0]; | 514 | Hashtable requestData = (Hashtable) request.Params[0]; |
515 | 515 | ||
516 | // check completeness | 516 | // check completeness |
517 | checkStringParameters(request, new string[] { "password", "user_firstname", | 517 | checkStringParameters(request, new string[] { "password", "user_firstname", |
518 | "user_lastname", "user_password" }); | 518 | "user_lastname", "user_password" }); |
@@ -603,7 +603,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
603 | try | 603 | try |
604 | { | 604 | { |
605 | Hashtable requestData = (Hashtable) request.Params[0]; | 605 | Hashtable requestData = (Hashtable) request.Params[0]; |
606 | 606 | ||
607 | // check completeness | 607 | // check completeness |
608 | checkStringParameters(request, new string[] { "password", "user_firstname", | 608 | checkStringParameters(request, new string[] { "password", "user_firstname", |
609 | "user_lastname" }); | 609 | "user_lastname" }); |
@@ -616,7 +616,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
616 | string firstname = (string) requestData["user_firstname"]; | 616 | string firstname = (string) requestData["user_firstname"]; |
617 | string lastname = (string) requestData["user_lastname"]; | 617 | string lastname = (string) requestData["user_lastname"]; |
618 | 618 | ||
619 | 619 | ||
620 | string passwd = String.Empty; | 620 | string passwd = String.Empty; |
621 | uint? regX = null; | 621 | uint? regX = null; |
622 | uint? regY = null; | 622 | uint? regY = null; |
@@ -632,7 +632,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
632 | if (null == userProfile) | 632 | if (null == userProfile) |
633 | throw new Exception(String.Format("avatar {0} {1} does not exist", firstname, lastname)); | 633 | throw new Exception(String.Format("avatar {0} {1} does not exist", firstname, lastname)); |
634 | 634 | ||
635 | if (null != passwd) | 635 | if (null != passwd) |
636 | { | 636 | { |
637 | string md5PasswdHash = Util.Md5Hash(Util.Md5Hash(passwd) + ":" + String.Empty); | 637 | string md5PasswdHash = Util.Md5Hash(Util.Md5Hash(passwd) + ":" + String.Empty); |
638 | userProfile.PasswordHash = md5PasswdHash; | 638 | userProfile.PasswordHash = md5PasswdHash; |
@@ -648,7 +648,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
648 | 648 | ||
649 | response.Value = responseData; | 649 | response.Value = responseData; |
650 | 650 | ||
651 | m_log.InfoFormat("[RADMIN]: UpdateUserAccount: account for user {0} {1} updated, UUID {2}", firstname, lastname, | 651 | m_log.InfoFormat("[RADMIN]: UpdateUserAccount: account for user {0} {1} updated, UUID {2}", firstname, lastname, |
652 | userProfile.ID); | 652 | userProfile.ID); |
653 | } | 653 | } |
654 | catch (Exception e) | 654 | catch (Exception e) |