diff options
author | Justin Clarke Casey | 2008-07-29 18:01:12 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-07-29 18:01:12 +0000 |
commit | aa59dfb1d2090b5c58683f1facc8223612c3a868 (patch) | |
tree | 1d4cd552d9ce4bf3e392b84ae60f5174fa5d43df /OpenSim | |
parent | * refactor: move create user console command parsing down to OpenSim.cs from ... (diff) | |
download | opensim-SC-aa59dfb1d2090b5c58683f1facc8223612c3a868.zip opensim-SC-aa59dfb1d2090b5c58683f1facc8223612c3a868.tar.gz opensim-SC-aa59dfb1d2090b5c58683f1facc8223612c3a868.tar.bz2 opensim-SC-aa59dfb1d2090b5c58683f1facc8223612c3a868.tar.xz |
* minor: route create user through underlying super class method rather than calling communications manager directly
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 71a941e..622573c 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -701,7 +701,7 @@ namespace OpenSim | |||
701 | 701 | ||
702 | if (null == m_commsManager.UserService.GetUserProfile(firstName, lastName)) | 702 | if (null == m_commsManager.UserService.GetUserProfile(firstName, lastName)) |
703 | { | 703 | { |
704 | m_commsManager.AddUser(firstName, lastName, password, regX, regY); | 704 | CreateUser(firstName, lastName, password, regX, regY); |
705 | } | 705 | } |
706 | else | 706 | else |
707 | { | 707 | { |
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 8de7c58..aa641e1 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -437,7 +437,7 @@ namespace OpenSim | |||
437 | 437 | ||
438 | public LLUUID CreateUser(string tempfirstname, string templastname, string tempPasswd, uint regX, uint regY) | 438 | public LLUUID CreateUser(string tempfirstname, string templastname, string tempPasswd, uint regX, uint regY) |
439 | { | 439 | { |
440 | return m_commsManager.AddUser(tempfirstname,templastname,tempPasswd,regX,regY); | 440 | return m_commsManager.AddUser(tempfirstname, templastname, tempPasswd, regX, regY); |
441 | } | 441 | } |
442 | 442 | ||
443 | /// <summary> | 443 | /// <summary> |
@@ -584,7 +584,6 @@ namespace OpenSim | |||
584 | storageManager, m_httpServer, | 584 | storageManager, m_httpServer, |
585 | m_moduleLoader, m_dumpAssetsToFile, m_physicalPrim, m_see_into_region_from_neighbor, m_config.Source, | 585 | m_moduleLoader, m_dumpAssetsToFile, m_physicalPrim, m_see_into_region_from_neighbor, m_config.Source, |
586 | m_version); | 586 | m_version); |
587 | |||
588 | } | 587 | } |
589 | 588 | ||
590 | public void handleRestartRegion(RegionInfo whichRegion) | 589 | public void handleRestartRegion(RegionInfo whichRegion) |
@@ -735,7 +734,3 @@ namespace OpenSim | |||
735 | } | 734 | } |
736 | } | 735 | } |
737 | } | 736 | } |
738 | |||
739 | |||
740 | |||
741 | |||