aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
authorDr Scofield2009-02-09 10:40:12 +0000
committerDr Scofield2009-02-09 10:40:12 +0000
commitb1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf (patch)
tree3d97d73aade2901b47d9851e579c7a1eacf9d9e6 /OpenSim/Region/Application/OpenSim.cs
parentThis patch implements llLookAt to the extent that an object will correctly (diff)
downloadopensim-SC-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.zip
opensim-SC-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.tar.gz
opensim-SC-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.tar.bz2
opensim-SC-b1739cbbfdb14f5a3a8da8375c2d823af1f0f2bf.tar.xz
fixing warnings.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs54
1 files changed, 27 insertions, 27 deletions
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);