diff options
author | Dr Scofield | 2009-02-09 10:40:12 +0000 |
---|---|---|
committer | Dr Scofield | 2009-02-09 10:40:12 +0000 |
commit | b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf (patch) | |
tree | 3d97d73aade2901b47d9851e579c7a1eacf9d9e6 /OpenSim/Region/Application | |
parent | This patch implements llLookAt to the extent that an object will correctly (diff) | |
download | opensim-SC_OLD-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.zip opensim-SC_OLD-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.tar.gz opensim-SC_OLD-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.tar.bz2 opensim-SC_OLD-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.tar.xz |
fixing warnings.
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/HGOpenSimNode.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 54 |
2 files changed, 28 insertions, 28 deletions
diff --git a/OpenSim/Region/Application/HGOpenSimNode.cs b/OpenSim/Region/Application/HGOpenSimNode.cs index f85c9dd..c0f57f1 100644 --- a/OpenSim/Region/Application/HGOpenSimNode.cs +++ b/OpenSim/Region/Application/HGOpenSimNode.cs | |||
@@ -146,7 +146,7 @@ namespace OpenSim | |||
146 | m_configSettings.See_into_region_from_neighbor, m_config.Source, m_version); | 146 | m_configSettings.See_into_region_from_neighbor, m_config.Source, m_version); |
147 | } | 147 | } |
148 | 148 | ||
149 | void RunCommand(string module, string[] cp) | 149 | new void RunCommand(string module, string[] cp) |
150 | { | 150 | { |
151 | List<string> cmdparams = new List<string>(cp); | 151 | List<string> cmdparams = new List<string>(cp); |
152 | if (cmdparams.Count < 1) | 152 | if (cmdparams.Count < 1) |
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 37066c2..5aee06a 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -321,32 +321,32 @@ namespace OpenSim | |||
321 | 321 | ||
322 | #region Console Commands | 322 | #region Console Commands |
323 | 323 | ||
324 | private void KickUserCommand(string module, string[] cmdparams) | 324 | // private void KickUserCommand(string module, string[] cmdparams) |
325 | { | 325 | // { |
326 | if (cmdparams.Length < 4) | 326 | // if (cmdparams.Length < 4) |
327 | return; | 327 | // return; |
328 | 328 | ||
329 | IList agents = m_sceneManager.GetCurrentSceneAvatars(); | 329 | // IList agents = m_sceneManager.GetCurrentSceneAvatars(); |
330 | 330 | ||
331 | foreach (ScenePresence presence in agents) | 331 | // foreach (ScenePresence presence in agents) |
332 | { | 332 | // { |
333 | RegionInfo regionInfo = m_sceneManager.GetRegionInfo(presence.RegionHandle); | 333 | // RegionInfo regionInfo = m_sceneManager.GetRegionInfo(presence.RegionHandle); |
334 | 334 | ||
335 | if (presence.Firstname.ToLower().Contains(cmdparams[2].ToLower()) && presence.Lastname.ToLower().Contains(cmdparams[3].ToLower())) | 335 | // if (presence.Firstname.ToLower().Contains(cmdparams[2].ToLower()) && presence.Lastname.ToLower().Contains(cmdparams[3].ToLower())) |
336 | { | 336 | // { |
337 | m_console.Notice( | 337 | // m_console.Notice( |
338 | String.Format( | 338 | // String.Format( |
339 | "Kicking user: {0,-16}{1,-16}{2,-37} in region: {3,-16}", | 339 | // "Kicking user: {0,-16}{1,-16}{2,-37} in region: {3,-16}", |
340 | presence.Firstname, | 340 | // presence.Firstname, |
341 | presence.Lastname, | 341 | // presence.Lastname, |
342 | presence.UUID, | 342 | // presence.UUID, |
343 | regionInfo.RegionName)); | 343 | // regionInfo.RegionName)); |
344 | 344 | ||
345 | presence.Scene.IncomingCloseAgent(presence.UUID); | 345 | // presence.Scene.IncomingCloseAgent(presence.UUID); |
346 | } | 346 | // } |
347 | } | 347 | // } |
348 | m_console.Notice(""); | 348 | // m_console.Notice(""); |
349 | } | 349 | // } |
350 | 350 | ||
351 | /// <summary> | 351 | /// <summary> |
352 | /// Run an optional startup list of commands | 352 | /// Run an optional startup list of commands |
@@ -761,7 +761,7 @@ namespace OpenSim | |||
761 | } | 761 | } |
762 | 762 | ||
763 | // see BaseOpenSimServer | 763 | // see BaseOpenSimServer |
764 | private void HandleShow(string mod, string[] cmd) | 764 | override public void HandleShow(string mod, string[] cmd) |
765 | { | 765 | { |
766 | List<string> args = new List<string>(cmd); | 766 | List<string> args = new List<string>(cmd); |
767 | args.RemoveAt(0); | 767 | args.RemoveAt(0); |