diff options
author | Jeff Ames | 2009-05-20 01:32:06 +0000 |
---|---|---|
committer | Jeff Ames | 2009-05-20 01:32:06 +0000 |
commit | e0bc5c5db2b88691c04b06be2fa73a75746126cb (patch) | |
tree | fa33ed724c57578d7ed76044f68940a4e09a8026 /OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |
parent | Update svn properties. (diff) | |
download | opensim-SC-e0bc5c5db2b88691c04b06be2fa73a75746126cb.zip opensim-SC-e0bc5c5db2b88691c04b06be2fa73a75746126cb.tar.gz opensim-SC-e0bc5c5db2b88691c04b06be2fa73a75746126cb.tar.bz2 opensim-SC-e0bc5c5db2b88691c04b06be2fa73a75746126cb.tar.xz |
Add copyright headers, formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index e05f7dc..9ce9a89 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -1191,7 +1191,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1191 | 1191 | ||
1192 | if (requestData.Contains("gender")) | 1192 | if (requestData.Contains("gender")) |
1193 | { | 1193 | { |
1194 | switch((string)requestData["gender"]) | 1194 | switch ((string)requestData["gender"]) |
1195 | { | 1195 | { |
1196 | case "m" : | 1196 | case "m" : |
1197 | model = dmale; | 1197 | model = dmale; |
@@ -1215,7 +1215,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1215 | 1215 | ||
1216 | // No appearance attributes were set | 1216 | // No appearance attributes were set |
1217 | 1217 | ||
1218 | if(model == String.Empty) | 1218 | if (model == String.Empty) |
1219 | { | 1219 | { |
1220 | m_log.DebugFormat("[RADMIN] Appearance update not requested"); | 1220 | m_log.DebugFormat("[RADMIN] Appearance update not requested"); |
1221 | return; | 1221 | return; |
@@ -1430,7 +1430,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1430 | 1430 | ||
1431 | // Load up any included assets. Duplicates will be ignored | 1431 | // Load up any included assets. Duplicates will be ignored |
1432 | assets = doc.GetElementsByTagName("RequiredAsset"); | 1432 | assets = doc.GetElementsByTagName("RequiredAsset"); |
1433 | foreach(XmlNode asset in assets) | 1433 | foreach (XmlNode asset in assets) |
1434 | { | 1434 | { |
1435 | AssetBase rass = new AssetBase(); | 1435 | AssetBase rass = new AssetBase(); |
1436 | rass.FullID = UUID.Random(); | 1436 | rass.FullID = UUID.Random(); |
@@ -1851,7 +1851,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1851 | { | 1851 | { |
1852 | scene.EventManager.OnOarFileSaved += RemoteAdminOarSaveCompleted; | 1852 | scene.EventManager.OnOarFileSaved += RemoteAdminOarSaveCompleted; |
1853 | archiver.ArchiveRegion(filename); | 1853 | archiver.ArchiveRegion(filename); |
1854 | lock(SOLock) Monitor.Wait(SOLock,5000); | 1854 | lock (SOLock) Monitor.Wait(SOLock,5000); |
1855 | scene.EventManager.OnOarFileSaved -= RemoteAdminOarSaveCompleted; | 1855 | scene.EventManager.OnOarFileSaved -= RemoteAdminOarSaveCompleted; |
1856 | } | 1856 | } |
1857 | else | 1857 | else |
@@ -1881,7 +1881,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1881 | private void RemoteAdminOarSaveCompleted(Guid uuid, string name) | 1881 | private void RemoteAdminOarSaveCompleted(Guid uuid, string name) |
1882 | { | 1882 | { |
1883 | m_log.DebugFormat("[RADMIN] File processing complete for {0}", name); | 1883 | m_log.DebugFormat("[RADMIN] File processing complete for {0}", name); |
1884 | lock(SOLock) Monitor.Pulse(SOLock); | 1884 | lock (SOLock) Monitor.Pulse(SOLock); |
1885 | } | 1885 | } |
1886 | 1886 | ||
1887 | public XmlRpcResponse XmlRpcLoadXMLMethod(XmlRpcRequest request) | 1887 | public XmlRpcResponse XmlRpcLoadXMLMethod(XmlRpcRequest request) |